W3cubDocs

/Haskell 9

GHC.Clock

License BSD-style (see the file LICENSE in this distribution)
Stability internal
Portability portable
Safe Haskell Safe
Language Haskell2010

Description

System monotonic time.

getMonotonicTime :: IO Double Source

Return monotonic time in seconds, since some unspecified starting point

Since: base-4.11.0.0

getMonotonicTimeNSec :: IO Word64 Source

Return monotonic time in nanoseconds, since some unspecified starting point

Since: base-4.11.0.0

© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/9.12.1/docs/libraries/base-4.21.0.0-8e62/GHC-Clock.html