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.
0.2-44 years ago7,958 downloads
0.2-34 years ago607 downloads
0.2-25 years ago264 downloads
0.2-17 years ago241 downloads
0.2-07 years ago68 downloads
0.1-58 years ago59 downloads
0.1-48 years ago31 downloads
lua >= 5.1