Module time
Expand description
Time utilities providing a high-performance, cached wall clock.
Functionsยง
- now_
system_ time - Returns an approximate system time using approximate unix timestamp.
- now_
unix - Returns an approximate unix timestamp in seconds.
- now_
unix_ ms - Returns an approximate unix timestamp in milliseconds.
- time_
modulo_ index - Returns a rotating index in range
0..lenderived from current unix ms time. - unix_
timestamp_ millis - Returns the current unix timestamp in milliseconds by reading the system clock.