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 ago7,355 downloads
0.2-34 years ago605 downloads
0.2-25 years ago262 downloads
0.2-17 years ago239 downloads
0.2-07 years ago66 downloads
0.1-57 years ago58 downloads
0.1-48 years ago30 downloads

Dependencies

lua >= 5.1

Dependency for

dumper, lua-cc

Labels

Manifests