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 ago5,992 downloads
0.2-32 years ago598 downloads
0.2-23 years ago255 downloads
0.2-15 years ago227 downloads
0.2-05 years ago50 downloads
0.1-56 years ago56 downloads
0.1-46 years ago25 downloads

Dependencies

lua >= 5.1

Dependency for

dumper, lua-cc

Labels

Manifests