[TriLUG] Timer resolution question

Charles Fischer fischer at 4pi.com
Wed May 11 13:20:29 EDT 2005


Is there a way to measure time on a Linux box in one millisecond 
granularity?  On Intel boxes I have tried the granularity seems to be 10 or 
15 milliseconds for the gettimeofday and ftime functions.  Microsoft 
Windows has the same granularity on these boxes, but Microsoft has 
multimedia timers and high resolution timers, which have higher 
resolution.  So in short is there a Linux version of Microsoft's high 
resolution timer?

Thanks
Charles Fischer




More information about the TriLUG mailing list