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-42 years ago6,087 downloads
0.2-33 years ago599 downloads
0.2-23 years ago256 downloads
0.2-15 years ago229 downloads
0.2-05 years ago54 downloads
0.1-56 years ago56 downloads
0.1-46 years ago26 downloads

Dependencies

lua >= 5.1

Dependency for

dumper, lua-cc

Labels

Manifests