chronos

High resolution monotonic timers

$ luarocks install chronos

Wrappers around a number of platform-specific monotonic timers.
The highest resolution timer on each platform is used. This is typically clock_gettime, gettimeofday, QueryPerformanceCounter, or similar depending on the capabilities of the host.
On a modern Linux system, nanosecond precision is common.

Versions

0.2-11 year ago172 downloads
0.2-01 year ago22 downloads
0.1-52 years ago51 downloads
0.1-42 years ago16 downloads

Dependencies

lua >= 5.1

Labels

Manifests