High-resolution clock functions: monotonic, realtime, cputime.

Version on this page:[email protected]:1
LTS Haskell 15.15:0.8
Stackage Nightly 2020-06-06:0.8
Latest on Hackage:0.8

See all snapshots clock appears in

BSD-3-Clause licensed and maintained by Cetin Sert, Corsis Research

Module documentation for

This version can be pinned in stack with:[email protected]:653fd69fcb84f23fb93241604f83f686921593f7ded7c3bf61ce7cecf1f00440,2439
  • System
    • System.Clock

A package for convenient access to high-resolution clock and timer functions of different operating systems via a unified API.

POSIX code and surface API was developed by Cetin Sert in 2009.

Windows code was contributed by Eugene Kirpichov in 2010.

FreeBSD code was contributed by Finn Espen Gundersen on 2013-10-14.

OS X code was contributed by Gerolf Seitz on 2013-10-15.

Derived Generic, Typeable and other instances for Clock and TimeSpec was contributed by Mathieu Boespflug on 2014-09-17.

Corrected dependency listing for GHC < 7.6 was contributed by Brian McKenna on 2014-09-30, fixed by Mihaly Barasz on 2014-10-02.

Version Scheme
Major-R-ewrite . New-F-unctionality . I-mprovementAndBugFixes . P-ackagingOnly
  • PackagingOnly changes are made for quality assurance reasons.

Depends on 1 package(full list with versions):
Used by 1 package in lts-0.7(full list with versions):