Module time

Source
Expand description

timestamp utility

Structs§

DelayedTime
Light-weight timestamp that update unix epoch every second in background, to minimise the cost of time related system calls.

Functions§

check_timelapse
When the time (unix epoch) has been too long since pre_ts, return true.
timestamp
timestamp_subsec_nanos