[lug] High resolution timers

Jeffrey Siegal jbs at quiotix.com
Fri Feb 21 19:41:55 MST 2003


D. Stimits wrote:
> I doubt that any non-RT extension will get you better than 10 milli 
> seconds, even if the code resolves to micro seconds. A question that 
> needs to be asked is not just whether it must resolve a micro second, 
> but whether it is allowed to have an error of +/- 50 ms (with a 100 Hz 
> IRQ rate) on that 1 micro second tick.

Not exactly.  Most kernel builds use the CPU tick counter (TSC) to 
adjust the 100 Hz timer value.  It should be accurate to 1 us (or less, 
but there is no user mode interface for that).




More information about the LUG mailing list