[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rtl] code snippet to access Pentium timer



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...