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
GetTickCountif it is not available.
GetTickCount64was introduced in Windows Vista and Windows Server 2008. Support for
QueryPerformanceCounteris also available, but is not used by default, as it is less accurate in the long run than
On Linux, this uses
- Update driver API (
SystemClock) to prevent cumulative precision loss.
- Initial release.
|Dependencies||base (==4.*), time [details]|
|Copyright||Copyright (c) Joseph Adams 2012|
|Source repo||head: git clone git://github.com/joeyadams/haskell-system-time-monotonic.git|
|Uploaded||Tue Aug 7 07:21:05 UTC 2012 by JoeyAdams|
|Downloads||1114 total (11 in the last 30 days)|
|Rating||(no votes yet) [estimated by rule of succession]|
|Status||Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI
For package maintainers and hackage trustees