What is the precision of usleep ?

From: Marcus Ramos (marcus@ansp.br)
Date: Fri Apr 20 2001 - 13:05:14 EST


Hello,

I am using usleep in an application under RH7 kernel 2.4.2. However,
when I bring its argument down to 20 miliseconds (20.000 microseconds)
or less, this seems to be ignored by the function (or the machine's hw
timer), which behaves as if 20 ms where its lowest acceptable value. How
can I measure the precision of usleep in my box ? I am currently using
an Dell GX110 PIII 866 MHz.

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



This archive was generated by hypermail 2b29 : Mon Apr 23 2001 - 21:00:37 EST