HawkTracer
0.10.0
|
#include <hawktracer/base_types.h>
Go to the source code of this file.
Functions | |
HT_DECLS_BEGIN HT_API HT_TimestampNs | ht_monotonic_clock_get_timestamp (void) |
Gets a current timestamp of a monotonic clock. More... | |
HT_DECLS_BEGIN HT_API HT_TimestampNs ht_monotonic_clock_get_timestamp | ( | void | ) |
Gets a current timestamp of a monotonic clock.
The timestamp of this clock can not decrease as physical time moves forward. Although the timestamp doesn't represent wall clock time, returned values can be used e.g. for measuring intervals.