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

[ bsd3, library, system ] [ Propose Tags ]

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.

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




Automatic Flags

compile via LLVM


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Versions [RSS] 0.1, 0.1.1, 0.1.2,,, 0.3,,,,,,,,,,,, 0.5.1, 0.5.2, 0.6.0,, 0.7.1,, 0.7.2, 0.8, 0.8.2, 0.8.3
Dependencies base (>=4.6 && <=5) [details]
License BSD-3-Clause
Copyright Copyright © Cetin Sert 2009-2013, Eugene Kirpichov 2010, Finn Espen Gundersen 2013, Gerolf Seitz 2013, Mathieu Boespflug 2014
Author Cetin Sert <>, Corsis Research
Maintainer Cetin Sert <>, Corsis Research
Revised Revision 1 made by HerbertValerioRiedel at 2015-01-06T23:01:43Z
Category System
Home page
Bug tracker
Source repo head: git clone git://
Uploaded by CetinSert at 2014-09-18T16:17:26Z
Distributions Arch:0.8.3, Debian:0.8, Fedora:0.8.3, LTSHaskell:0.8.3, NixOS:0.8.3, Stackage:0.8.3, openSUSE:0.8.3
Downloads 141068 total (394 in the last 30 days)
Rating 2.5 (votes: 5) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]