The Haskell 1.4 Library Report
top | back | next | contents

16  CPU Time


module CPUTime ( getCPUTime ) where

getCPUTime        :: IO Integer
cpuTimePrecision  :: Integer

Computation getCPUTime returns the number of picoseconds of CPU time used by the current program. The precision of this result is given by cpuTimePrecision. This is the smallest measurable difference in CPU time that the implementation can record, and is given as an integral number of picoseconds.


The Haskell 1.4 Library Report
top | back | next | contents
April 4, 1997