Mon Sep 13 06:38:18 PDT 2010 Simon Marlow <[email protected]>
* Use clock_gettime (if available) to measure the process CPU time
This is much more accurate than getrusage, which was giving misleading
results when trying to time very quick operations like a minor GC.
M ./rts/posix/GetTime.c -4 +26
View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20100913133818-12142-fc7ebab3b9cbc5d4bfe98b09732a1d91fe8f30f9.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc