Re: Need help with accurate timers for multithreaded programs on Linux/X-86

Boris Kolpackov <[email protected]> Wed, 19 Nov 2003 22:29:57 +0000 (UTC)
Newsgroups gmane.comp.lib.phil
Message-ID <[email protected]>
"Rajat P. Garg" <[email protected]> writes:

> On Linux, I have tried both gettimeofday based timer and a timer 
> using RDTSC instruction in IA-32 but am not able to get repeatable

Have you tried clock_gettime and friends?

hth,
-boris