[Haskell-cafe] Re: System.CPUTime and picoseconds

Peter Verswyvelen bugfact at gmail.com
Mon Jan 12 18:46:42 EST 2009

I just tried getCPUTime on Windows and it seems to tick really slow, about
10 times per second or so. Actually it changes every 15600100000
picoseconds, so about 15600 microseconds, which is indeed the interval at
which Windows updates its "tick" count.
So anyway a lot of room to go to the picosecond resolution :)

But, is this intended behavior? How does it perform on Linux? Should it
behave the same on all platforms?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090113/99fdd987/attachment.htm

More information about the Haskell-Cafe mailing list