MCPcopy Create free account
hub / github.com/coreboot/coreboot / mono_time_before

Function mono_time_before

src/include/timer.h:98–102  ·  view source on GitHub ↗

Return true if t1 before t2. */

Source from the content-addressed store, hash-verified

96
97/* Return true if t1 before t2. */
98static inline int mono_time_before(const struct mono_time *t1,
99 const struct mono_time *t2)
100{
101 return mono_time_cmp(t1, t2) < 0;
102}
103
104/* Return time difference between t1 and t2. i.e. t2 - t1. */
105static inline int64_t mono_time_diff_microseconds(const struct mono_time *t1,

Callers 3

timer_queue_expiredFunction · 0.85
timer_sched_callbackFunction · 0.85
stopwatch_expiredFunction · 0.85

Calls 1

mono_time_cmpFunction · 0.85

Tested by

no test coverage detected