[Haskell-cafe] Announce: Package rdtsc for reading IA-32 time
bos at serpentine.com
Tue Jan 23 19:10:10 EST 2007
John Meacham wrote:
> I would think this would be how the haskell 98 standard library CPUTime
> is implemented, is it not?
No. System.CPUTime gives you an approximate idea of the amount of CPU
time your process, and all its threads, have used. The rdtsc
instruction gives you a snapshot of the current CPU's cycle counter,
regardless of who (if anyone) has been burning those cycles.
More information about the Haskell-Cafe