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-46 years ago15,304 downloads
0.2-36 years ago632 downloads
0.2-27 years ago1,780 downloads
0.2-19 years ago359 downloads
0.2-09 years ago132 downloads
0.1-510 years ago64 downloads
0.1-410 years ago49 downloads

Dependencies

lua >= 5.1

Dependency for

dumper, lua-cc

Labels

Manifests