MCPcopy Create free account
hub / github.com/F-Stack/f-stack / UTIL_waitForNextTick

Function UTIL_waitForNextTick

freebsd/contrib/zstd/programs/timefn.c:162–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162void UTIL_waitForNextTick(void)
163{
164 UTIL_time_t const clockStart = UTIL_getTime();
165 UTIL_time_t clockEnd;
166 do {
167 clockEnd = UTIL_getTime();
168 } while (UTIL_getSpanTimeNano(clockStart, clockEnd) == 0);
169}

Callers 1

BMK_benchMemFunction · 0.85

Calls 2

UTIL_getTimeFunction · 0.85
UTIL_getSpanTimeNanoFunction · 0.85

Tested by

no test coverage detected