Class for high-resolution monotonic timing.

Static methods

staticnanoStamp():Int64

Returns a high-precision monotonic timestamp in nanoseconds.

Returns:

Time in nanoseconds.

staticstamp():Float

Returns a monotonic timestamp in seconds. Unlike Sys.time(), this clock only goes forward and is not affected by system clock adjustments.

Returns:

Time in seconds.