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-47 years ago46,004 downloads
0.2-38 years ago642 downloads
0.2-28 years ago4,924 downloads
0.2-110 years ago691 downloads
0.2-010 years ago156 downloads
0.1-511 years ago64 downloads
0.1-411 years ago49 downloads

Dependencies

lua >= 5.1

Dependency for

dumper, lua-cc, luapit

Labels

Manifests