On Tue, Apr 25, 2000 at 08:43:27AM -0600, Doug Fortune wrote:
> Does anyone have a C code snippet to read the
> high resolution Pentium timer?  I am presuming
> it is 64 bits.
> 

#include <linux/timex.h>

{
        unsigned long low,high;
        rdtsc(low,high);
}




dave...

-- [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/rtlinux/

Reply via email to