There is a delay function that uses the Pentium's TSC to
run a delay-loop until a the counter reaches a specified
value.  You wouldn't want to do this for very long since it
(at least if it's not preempted) totally ties up a CPU, but
the resolution is the clock frequency of the CPU itself.

    Norm

----- Original Message -----
From: Daniel Haglund <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 24, 2001 2:15 AM
Subject: [rtl] Timer resolution


> Hi.
>
> What is the best timer resolution that can be had with
rtlinux?
> I.e. what is the smallest amount of time I can sleep and
the sleep will be
> the specified amount?
>
> I am using rtlinux on a P2 350MHz and a K7 750MHz.
>
> /Daniel Haglund
> -- [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/

Reply via email to