Thomas Schatzl's cpu unit works for linux & has all of the (fpc) code for accessing the cpu timers as well as other useful stuff... surprised noone has mentioned this...J