Package Info

ghc-clock


High-resolution clock functions: monotonic, realtime, cputime


Unspecified

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.

Windows code corrected by Dimitri Sabadie on 2015-02-09.

Added 'timeSpecAsNanoSecs' as observed widely-used by Chris Done on 2015-01-06, exported correctly on 2015-04-20.

Imported Control.Applicative operators correctly for Haskell Platform on Windows on 2015-04-21.

Unit tests and instance fixes by Christian Burger on 2015-06-25.

Removal of fromInteger : Integer -> TimeSpec by Cetin Sert on 2015-12-15.

New Linux-specific Clocks: MonotonicRaw, Boottime, MonotonicCoarse, RealtimeCoarse by Cetin Sert on 2015-12-15.

Reintroduction fromInteger : Integer -> TimeSpec by Cetin Sert on 2016-04-05.

Fixes for older Linux build failures introduced by new Linux-specific clocks by Mario Longobardi on 2016-04-18.

Refreshment release in 2019-04 after numerous contributions.

[Version Scheme] Major-'/R/'-ewrite . New-'/F/'-unctionality . '/I/'-mprovementAndBugFixes . '/P/'-ackagingOnly

  • 'PackagingOnly' changes are made for quality assurance reasons.

License: BSD-3-Clause
URL: https://hackage.haskell.org/package/clock

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.6.0.1-3.1 info openSUSE-2016-291 2016-07-04 12 GA-SP5
  • x86-64
  • ghc-clock
  • ghc-clock-devel
0.7.2-6.10 info 5585 2016-09-14 12 GA-SP5
  • AArch64
  • s390x
  • x86-64
  • ghc-clock
  • ghc-clock-devel
0.7.2-6.4 info 5585 2016-09-14 12 GA-SP5
  • ppc64le
  • ghc-clock
  • ghc-clock-devel
0.7.2-bp150.2.6 info GA Release 2018-08-01 15
  • AArch64
  • ghc-clock
  • ghc-clock-devel
0.7.2-bp150.2.7 info GA Release 2018-07-30 15
  • ppc64le
  • x86-64
  • ghc-clock
  • ghc-clock-devel
0.7.2-bp151.3.12 info GA Release 2019-05-31 15 SP1
  • AArch64
  • ghc-clock
  • ghc-clock-devel
0.7.2-bp151.4.2 info GA Release 2019-07-17 15 SP1
  • ppc64le
  • s390x
  • x86-64
  • ghc-clock
  • ghc-clock-devel
0.8-bp152.1.17 info GA Release 2020-06-16 15 SP2
  • AArch64
  • ppc64le
  • x86-64
  • ghc-clock
  • ghc-clock-devel
0.8-bp153.1.20 info GA Release 2021-04-08 15 SP3
  • AArch64
  • ppc64le
  • x86-64
  • ghc-clock
  • ghc-clock-devel
0.8.3-bp154.1.11 info GA Release 2022-05-09 15 SP4)
  • AArch64
  • ppc64le
  • x86-64
  • ghc-clock
  • ghc-clock-devel