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-4312 days ago2,664 downloads
0.2-31 year ago593 downloads
0.2-22 years ago250 downloads
0.2-14 years ago218 downloads
0.2-04 years ago36 downloads
0.1-54 years ago55 downloads
0.1-45 years ago22 downloads

Dependencies

lua >= 5.1

Dependency for

dumper, nelua

Labels

Manifests