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-41 year ago5,884 downloads
0.2-32 years ago595 downloads
0.2-23 years ago252 downloads
0.2-15 years ago220 downloads
0.2-05 years ago38 downloads
0.1-56 years ago56 downloads
0.1-46 years ago23 downloads

Dependencies

lua >= 5.1

Dependency for

dumper, lua-cc

Labels

Manifests