Searched refs:clockStart (Results 1 – 5 of 5) sorted by relevance
/external/lz4/programs/ |
D | util.h | 133 …cksPerSecond, UTIL_time_t clockStart, UTIL_time_t clockEnd) { (void)ticksPerSecond; return 1000000… in UTIL_getSpanTimeMicro() argument 134 …ksPerSecond, UTIL_time_t clockStart, UTIL_time_t clockEnd) { (void)ticksPerSecond; return 10000000… in UTIL_getSpanTimeNano() argument 139 …ime_t ticksPerSecond, UTIL_time_t clockStart, UTIL_time_t clockEnd) { return 1000000ULL*(clockEnd.… in UTIL_getSpanTimeMicro() argument 140 …e_t ticksPerSecond, UTIL_time_t clockStart, UTIL_time_t clockEnd) { return 1000000000ULL*(clockEnd… 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() 155 UTIL_time_t clockStart, clockEnd; in UTIL_waitForNextTick() local 156 UTIL_getTime(&clockStart); in UTIL_waitForNextTick() 159 } while (UTIL_getSpanTimeNano(ticksPerSecond, clockStart, clockEnd) == 0); in UTIL_waitForNextTick()
|
D | bench.c | 235 UTIL_time_t clockStart; in BMK_benchMem() local 251 UTIL_getTime(&clockStart); in BMK_benchMem() 263 } while (UTIL_clockSpanMicro(clockStart, ticksPerSecond) < clockLoop); in BMK_benchMem() 264 { U64 const clockSpan = UTIL_clockSpanMicro(clockStart, ticksPerSecond); in BMK_benchMem() 286 UTIL_getTime(&clockStart); 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/lz4/tests/ |
D | fuzzer.c | 88 static clock_t FUZ_GetClockSpan(clock_t clockStart) in FUZ_GetClockSpan() argument 90 return clock() - clockStart; /* works even if overflow; max span ~ 30mn */ in FUZ_GetClockSpan() 272 clock_t const clockStart = clock(); in FUZ_test() local 298 (cycleNb < nbCycles) || (FUZ_GetClockSpan(clockStart) < clockDuration); in FUZ_test()
|
D | fullbench.c | 127 static clock_t BMK_GetClockSpan( clock_t clockStart ) in BMK_GetClockSpan() argument 129 return clock() - clockStart; /* works even if overflow; max span ~30 mn */ in BMK_GetClockSpan()
|
D | frametest.c | 104 static clock_t FUZ_GetClockSpan(clock_t clockStart) in FUZ_GetClockSpan() argument 106 return clock() - clockStart; /* works even if overflow; max span ~ 30 mn */ in FUZ_GetClockSpan()
|