The system-time-monotonic package
Simple library for using the system's monotonic clock. This library is geared toward programs that need to run for long periods of time. It does not (necessarily) provide high-resolution timing.
On Windows, this uses GetTickCount64, but falls back to GetTickCount if it is not available. GetTickCount64 was introduced in Windows Vista and Windows Server 2008. Support for QueryPerformanceCounter is also available, but is not used by default, as it is less accurate in the long run than GetTickCount.
On Linux, this uses clock_gettime with CLOCK_MONOTONIC.
- No changelog available
|Dependencies||base (==4.*), time|
|Copyright||Copyright (c) Joseph Adams 2012|
|Source repository||head: git clone git://github.com/joeyadams/haskell-system-time-monotonic.git|
|Upload date||Mon Aug 6 04:32:23 UTC 2012|
|Downloads||428 total (19 in last 30 days)|
- system-time-monotonic-0.1.tar.gz [browse] (Cabal source package)
- Package description (included in the package)
For package maintainers and hackage trustees