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-45 years ago15,021 downloads
0.2-36 years ago628 downloads
0.2-26 years ago1,024 downloads
0.2-18 years ago355 downloads
0.2-08 years ago128 downloads
0.1-59 years ago62 downloads
0.1-49 years ago47 downloads

Dependencies

lua >= 5.1

Dependency for

dumper, lua-cc

Labels

Manifests