What exactly do you mean by sleep? If it's an asynchronous, surrender-the-CPU-while-I-take-a-nap thing, then it's probably a few microseconds. If it's a busy-wait loop and if you're using a Pentium-type CPU, there's a built-in register that measures CPU clock ticks. With a 500 MHz clock, the RDTSC instruction returns the time in 2 nSec units using a 64-bit word.
Norm > ----- Original Message ----- > From: Daniel Marian <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, April 18, 2002 1:48 PM > Subject: [rtl] Minimum sleep time in RTLinux > > > > Hello Sirs, > > What is the minimum sleep time which I can have in an RT task. > > > > Is is configurable ? > > Any pointers/resources to timer, clock implementation in RT environment on > the net is welcome. > > thanks in advance, > > kind regards, > > daniel marian. > > > > -- > > > > Get your free email from www.linuxmail.org > > > > > > Powered by Outblaze > > -- [rtl] --- > > To unsubscribe: > > echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR > > echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED] > > -- > > For more information on Real-Time Linux see: > > http://www.rtlinux.org/ > > > > > > -- [rtl] --- > To unsubscribe: > echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR > echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED] > -- > For more information on Real-Time Linux see: > http://www.rtlinux.org/ > -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/