HawkTracer  0.10.0
monotonic_clock.h
Go to the documentation of this file.
1 #ifndef HAWKTRACER_MONOTONIC_CLOCK_H
2 #define HAWKTRACER_MONOTONIC_CLOCK_H
3 
5 
7 
19 
21 
22 #endif /* HAWKTRACER_MONOTONIC_CLOCK_H */
#define HT_API
Defines a directive for exporting/importing symbols from DLL.
Definition: macros.h:76
#define HT_DECLS_END
Defines an end of C linkage block.
Definition: macros.h:17
uint64_t HT_TimestampNs
An unsigned integer used for representing timestamps in nanoseconds.
Definition: base_types.h:14
#define HT_DECLS_BEGIN
Defines a beginning of C linkage block.
Definition: macros.h:16
HT_DECLS_BEGIN HT_API HT_TimestampNs ht_monotonic_clock_get_timestamp(void)
Gets a current timestamp of a monotonic clock.