Searched refs:clockStart (Results 1 – 6 of 6) sorted by relevance
185 UTIL_STATIC U64 UTIL_getSpanTimeMicro(UTIL_time_t clockStart, UTIL_time_t clockEnd) in UTIL_getSpanTimeMicro() argument194 return 1000000ULL*(clockEnd.QuadPart - clockStart.QuadPart)/ticksPerSecond.QuadPart; in UTIL_getSpanTimeMicro()196 UTIL_STATIC U64 UTIL_getSpanTimeNano(UTIL_time_t clockStart, UTIL_time_t clockEnd) in UTIL_getSpanTimeNano() argument205 return 1000000000ULL*(clockEnd.QuadPart - clockStart.QuadPart)/ticksPerSecond.QuadPart; in UTIL_getSpanTimeNano()213 UTIL_STATIC U64 UTIL_getSpanTimeMicro(UTIL_time_t clockStart, UTIL_time_t clockEnd) in UTIL_getSpanTimeMicro() argument221 return (((clockEnd - clockStart) * (U64)rate.numer) / ((U64)rate.denom)) / 1000ULL; in UTIL_getSpanTimeMicro()223 UTIL_STATIC U64 UTIL_getSpanTimeNano(UTIL_time_t clockStart, UTIL_time_t clockEnd) in UTIL_getSpanTimeNano() argument231 return ((clockEnd - clockStart) * (U64)rate.numer) / ((U64)rate.denom); in UTIL_getSpanTimeNano()278 …64 UTIL_getSpanTimeMicro(UTIL_time_t clockStart, UTIL_time_t clockEnd) { return 1000000ULL * (cloc… in UTIL_getSpanTimeMicro() argument279 …64 UTIL_getSpanTimeNano(UTIL_time_t clockStart, UTIL_time_t clockEnd) { return 1000000000ULL * (cl… in UTIL_getSpanTimeNano() argument[all …]
401 UTIL_time_t const clockStart = UTIL_getTime(); in BMK_benchMem() local414 { U64 const clockSpan = UTIL_clockSpanNano(clockStart); in BMK_benchMem()446 UTIL_time_t const clockStart = UTIL_getTime(); in BMK_benchMem() local461 { U64 const clockSpan = UTIL_clockSpanNano(clockStart); in BMK_benchMem()
414 clock_t const clockStart = clock(); in LZ4IO_compressFilename_Legacy() local462 if (clockEnd==clockStart) clockEnd+=1; /* avoid division by zero (speed) */ in LZ4IO_compressFilename_Legacy()467 { double const seconds = (double)(clockEnd - clockStart) / CLOCKS_PER_SEC; in LZ4IO_compressFilename_Legacy()
128 static clock_t BMK_GetClockSpan( clock_t clockStart ) in BMK_GetClockSpan() argument130 return clock() - clockStart; /* works even if overflow; max span ~30 mn */ in BMK_GetClockSpan()
104 static clock_t FUZ_GetClockSpan(clock_t clockStart) in FUZ_GetClockSpan() argument106 return clock() - clockStart; /* works even if overflow; max span ~ 30mn */ in FUZ_GetClockSpan()333 clock_t const clockStart = clock(); in FUZ_test() local372 (cycleNb < nbCycles) || (FUZ_GetClockSpan(clockStart) < clockDuration); in FUZ_test()
107 static clock_t FUZ_GetClockSpan(clock_t clockStart) in FUZ_GetClockSpan() argument109 return clock() - clockStart; /* works even if overflow; max span ~ 30 mn */ in FUZ_GetClockSpan()