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-44 years ago8,747 downloads
0.2-35 years ago620 downloads
0.2-26 years ago277 downloads
0.2-18 years ago345 downloads
0.2-08 years ago120 downloads
0.1-58 years ago59 downloads
0.1-49 years ago44 downloads

Dependencies

lua >= 5.1

Dependency for

dumper, lua-cc

Labels

Manifests