Re: POSIX.1b timers comments

Robert de Vries (rhdv@rhdv.cistron.nl)
Tue, 27 Jul 1999 18:17:18 +0200 (CEST)


On Tue, 27 Jul 1999, Thomas Sailer wrote:

> Also, clock_getres seems to be very pessimistic,
> the resolution is at least 10us, and even better
> on Pentium-class or better machines...

That depends on what the resolution is referring to: the clock or the
timer. The timer has a resolution of 1/HZ seconds, which is currently on
an Intel based Linux kernel 10 msecs. However the resolution of the clock
itself is much better. The current clock resolution is in microseconds,
but is probably better. Ask the current Linux clock guru.

So what you get is the worst case resolution.

Robert

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/