Copyright | (c) The University of Glasgow 2001 |
---|---|

License | (c) The University of Glasgow 2001 |

Maintainer | libraries@haskell.org |

Stability | provisional |

Portability | portable |

Safe Haskell | Trustworthy |

The standard CPUTime library.

# Documentation

getCPUTime :: IO IntegerSource

Computation `getCPUTime`

returns the number of picoseconds CPU time
used by the current program. The precision of this result is
implementation-dependent.

cpuTimePrecision :: IntegerSource

The `cpuTimePrecision`

constant is the smallest measurable difference
in CPU time that the implementation can record, and is given as an
integral number of picoseconds.