LuaRocks.org had a security incident in September 2026. Read the incident report.

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 ago50,193 downloads
0.2-38 years ago650 downloads
0.2-29 years ago6,171 downloads
0.2-111 years ago1,280 downloads
0.2-011 years ago179 downloads
0.1-512 years ago64 downloads
0.1-412 years ago49 downloads

Dependencies

lua >= 5.1

Dependency for

dumper, lua-cc, luapit

Labels

Manifests