HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulerebase-1.21.2Haskell2010

Rebase.System.CPUTime

  • 2 values
  • Packagerebase-1.21.2
  • Exports2
  • LanguageHaskell2010
  • LicenceMIT
  • SourceCPUTime.hsc
valuegetCPUTime :: IO Integer
#

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

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.