In message <[EMAIL PROTECTED]> Alfred Perlstein writes:
: Gettimeofday will force a check of the system hardware, basically
: you should get better than 100HZ resolution with gettimeofday.

gettimeofday on many systems do this.  There are other, older systems
that do not have a high resolution clock to read and rely on timer
interrupts to update the clock.  These systems limit their
gettimeofday reports to 10ms + a "uniqifier" that means two calls to
gettimeofday in a row don't get the same value.

On FreeBSD, we go ahead and read the timer hardware so you aren't
limited to 1/HZ increments.

Warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to