Home
last modified time | relevance | path

Searched refs:ticksPerSecond (Results 1 – 3 of 3) sorted by relevance

/external/lz4/programs/
Dutil.h131 UTIL_STATIC void UTIL_initTimer(UTIL_time_t* ticksPerSecond) { *ticksPerSecond=0; } in UTIL_initTimer() argument
133 …UTIL_getSpanTimeMicro(UTIL_time_t ticksPerSecond, UTIL_time_t clockStart, UTIL_time_t clockEnd) { … in UTIL_getSpanTimeMicro() argument
134 … UTIL_getSpanTimeNano(UTIL_time_t ticksPerSecond, UTIL_time_t clockStart, UTIL_time_t clockEnd) { … in UTIL_getSpanTimeNano() argument
137 …UTIL_STATIC void UTIL_initTimer(UTIL_time_t* ticksPerSecond) { if (!QueryPerformanceFrequency(tick… in UTIL_initTimer() argument
139 …time_t ticksPerSecond, UTIL_time_t clockStart, UTIL_time_t clockEnd) { return 1000000ULL*(clockEnd… in UTIL_getSpanTimeMicro() argument
140 …ime_t ticksPerSecond, UTIL_time_t clockStart, UTIL_time_t clockEnd) { return 1000000000ULL*(clockE… in UTIL_getSpanTimeNano() argument
145 UTIL_STATIC U64 UTIL_clockSpanMicro( UTIL_time_t clockStart, UTIL_time_t ticksPerSecond ) in UTIL_clockSpanMicro() argument
149 return UTIL_getSpanTimeMicro(ticksPerSecond, clockStart, clockEnd); in UTIL_clockSpanMicro()
153 UTIL_STATIC void UTIL_waitForNextTick(UTIL_time_t ticksPerSecond) in UTIL_waitForNextTick() argument
159 } while (UTIL_getSpanTimeNano(ticksPerSecond, clockStart, clockEnd) == 0); in UTIL_waitForNextTick()
Dbench.c169 UTIL_time_t ticksPerSecond; in BMK_benchMem() local
179 UTIL_initTimer(&ticksPerSecond); in BMK_benchMem()
239 if (UTIL_clockSpanMicro(coolTime, ticksPerSecond) > ACTIVEPERIOD_MICROSEC) { in BMK_benchMem()
250 UTIL_waitForNextTick(ticksPerSecond); in BMK_benchMem()
263 } while (UTIL_clockSpanMicro(clockStart, ticksPerSecond) < clockLoop); in BMK_benchMem()
264 { U64 const clockSpan = UTIL_clockSpanMicro(clockStart, ticksPerSecond); in BMK_benchMem()
285 UTIL_waitForNextTick(ticksPerSecond); in BMK_benchMem()
303 } while (UTIL_clockSpanMicro(clockStart, ticksPerSecond) < DECOMP_MULT*clockLoop); in BMK_benchMem()
304 { U64 const clockSpan = UTIL_clockSpanMicro(clockStart, ticksPerSecond); in BMK_benchMem()
/external/zlib/src/contrib/testzlib/
Dtestzlib.c95 LARGE_INTEGER endTime64,ticksPerSecond,ticks; in GetMsecSincePerfCounter() local
104 QueryPerformanceFrequency(&ticksPerSecond); in GetMsecSincePerfCounter()
109 tickSecShifted = Int64ShrlMod32(*(DWORDLONG*)&ticksPerSecond,dwLog); in GetMsecSincePerfCounter()