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

Function mono_time_diff_microseconds

src/include/timer.h:105–109  ·  view source on GitHub ↗

Return time difference between t1 and t2. i.e. t2 - t1. */

Source from the content-addressed store, hash-verified

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,
106 const struct mono_time *t2)
107{
108 return t2->microseconds - t1->microseconds;
109}
110
111struct stopwatch {
112 struct mono_time start;

Callers 8

console_time_stopFunction · 0.85
timestamp_getFunction · 0.85
bs_sample_timeFunction · 0.85
bs_call_callbacksFunction · 0.85
try_raminitFunction · 0.85
run_io_testFunction · 0.85
stopwatch_duration_usecsFunction · 0.85

Calls

no outgoing calls

Tested by 1

run_io_testFunction · 0.68