|
MULE 0.0.1
Multi-Use Library Essentials
|
A monotonic clock for measuring how long things take.
time_now_ns() reads CLOCK_MONOTONIC. It never goes backwards, so the difference between two readings is a duration even when the wall clock changes. It does not tell the time of day.
Functions | |
| uint64_t | time_now_ns (void) |
| Nanoseconds on a monotonic clock. | |