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-43 years ago6,277 downloads
0.2-33 years ago599 downloads
0.2-24 years ago256 downloads
0.2-16 years ago229 downloads
0.2-06 years ago54 downloads
0.1-57 years ago56 downloads
0.1-47 years ago26 downloads

Dependencies

lua >= 5.1

Dependency for

dumper, lua-cc

Labels

Manifests