The clock package

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.



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


Versions0.1, 0.1.1, 0.1.2,,, 0.3,,,,,,,,,,,,, 0.5.1, 0.5.2, 0.6.0,, 0.7.1,, 0.7.2
Change logNone available
Dependenciesbase (>=2 && <=5), ghc-prim [details]
CopyrightCopyright © Cetin Sert 2009-2013, Eugene Kirpichov 2010, Finn Espen Gundersen 2013, Gerolf Seitz 2013, Mathieu Boespflug 2014
AuthorCetin Sert <>, Corsis Research
MaintainerCetin Sert <>, Corsis Research
Home page
Bug tracker
Source repositoryhead: git clone git://
UploadedThu Oct 2 15:27:55 UTC 2014 by CetinSert





compile via LLVM


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


Maintainers' corner

For package maintainers and hackage trustees