base-4.20.2.0: Core data structures and operations

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

GHC.Clock

Description

System monotonic time.

Synopsis

- getMonotonicTime :: IO Double
- getMonotonicTimeNSec :: IO Word64

# Documentation

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