Generic Monotonic Timestamp
include/time/mono_time.h View source View on GitHubStructs
Section titled “Structs”mono_time
Section titled “mono_time”struct mono_time {
time_ns_t internal;
}; Functions
Section titled “Functions”mono_time_to_s
Section titled “mono_time_to_s”time_s_t mono_time_to_s(struct mono_time ts); mono_time_to_ms
Section titled “mono_time_to_ms”time_ms_t mono_time_to_ms(struct mono_time ts); mono_time_to_us
Section titled “mono_time_to_us”time_us_t mono_time_to_us(struct mono_time ts); mono_time_to_ns
Section titled “mono_time_to_ns”time_ns_t mono_time_to_ns(struct mono_time ts); mono_time_from_s
Section titled “mono_time_from_s”struct mono_time mono_time_from_s(time_s_t s); mono_time_from_ms
Section titled “mono_time_from_ms”struct mono_time mono_time_from_ms(time_ms_t ms); mono_time_from_us
Section titled “mono_time_from_us”struct mono_time mono_time_from_us(time_us_t us); mono_time_from_ns
Section titled “mono_time_from_ns”struct mono_time mono_time_from_ns(time_ns_t ns); mono_time_set_s
Section titled “mono_time_set_s”time_s_t mono_time_set_s(struct mono_time *ts, time_s_t s); mono_time_set_ms
Section titled “mono_time_set_ms”time_ms_t mono_time_set_ms(struct mono_time *ts, time_ms_t ms); mono_time_set_us
Section titled “mono_time_set_us”time_us_t mono_time_set_us(struct mono_time *ts, time_us_t us); mono_time_set_ns
Section titled “mono_time_set_ns”time_ns_t mono_time_set_ns(struct mono_time *ts, time_ns_t ns);