For the latest stable version, please use Emilua API 0.10! |
time.high_resolution_clock
local clock = require('time').high_resolution_clock
local timepoint = clock.now()
The clock with the smallest tick period provided by the system.
This clock is useful for microbenchmarking purposes. |