|
Zth (libzth)
|
Functions | |
| void | zth_now (struct timespec *ts) |
| Returns the current timestamp. | |
| void | zth_now2 (uint64_t *s, uint32_t *ns) |
| Returns the current timestamp. | |
| void zth_now | ( | struct timespec * | ts | ) |
Returns the current timestamp.
This is a monotonic clock, with unspecified start point. It is based on clock_gettime(CLOCK_MONOTONIC,...) .
This is a C-wrapper for zth::now().
| void zth_now2 | ( | uint64_t * | s, |
| uint32_t * | ns | ||
| ) |
Returns the current timestamp.
This is a monotonic clock, with unspecified start point. It is based on clock_gettime(CLOCK_MONOTONIC,...) .
This is a C-wrapper for zth::now(), with fixed typed s/ns fields.