Searched refs:clockStart (Results 1 – 6 of 6) sorted by relevance
218 UTIL_STATIC U64 UTIL_getSpanTimeMicro(UTIL_time_t clockStart, UTIL_time_t clockEnd) in UTIL_getSpanTimeMicro() argument227 return 1000000ULL*(clockEnd.QuadPart - clockStart.QuadPart)/ticksPerSecond.QuadPart; in UTIL_getSpanTimeMicro()229 UTIL_STATIC U64 UTIL_getSpanTimeNano(UTIL_time_t clockStart, UTIL_time_t clockEnd) in UTIL_getSpanTimeNano() argument238 return 1000000000ULL*(clockEnd.QuadPart - clockStart.QuadPart)/ticksPerSecond.QuadPart; in UTIL_getSpanTimeNano()246 UTIL_STATIC U64 UTIL_getSpanTimeMicro(UTIL_time_t clockStart, UTIL_time_t clockEnd) in UTIL_getSpanTimeMicro() argument254 return (((clockEnd - clockStart) * (U64)rate.numer) / ((U64)rate.denom)) / 1000ULL; in UTIL_getSpanTimeMicro()256 UTIL_STATIC U64 UTIL_getSpanTimeNano(UTIL_time_t clockStart, UTIL_time_t clockEnd) in UTIL_getSpanTimeNano() argument264 return ((clockEnd - clockStart) * (U64)rate.numer) / ((U64)rate.denom); in UTIL_getSpanTimeNano()311 …64 UTIL_getSpanTimeMicro(UTIL_time_t clockStart, UTIL_time_t clockEnd) { return 1000000ULL * (cloc… in UTIL_getSpanTimeMicro() argument312 …64 UTIL_getSpanTimeNano(UTIL_time_t clockStart, UTIL_time_t clockEnd) { return 1000000000ULL * (cl… in UTIL_getSpanTimeNano() argument[all …]
456 UTIL_time_t const clockStart = UTIL_getTime(); in BMK_benchMem() local469 { U64 const clockSpan = UTIL_clockSpanNano(clockStart); in BMK_benchMem()506 UTIL_time_t const clockStart = UTIL_getTime(); in BMK_benchMem() local530 { U64 const clockSpan = UTIL_clockSpanNano(clockStart); in BMK_benchMem()
427 clock_t const clockStart = clock(); in LZ4IO_compressFilename_Legacy() local475 clockEnd += (clockEnd==clockStart); /* avoid division by zero (speed) */ in LZ4IO_compressFilename_Legacy()480 { 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()
105 static clock_t FUZ_GetClockSpan(clock_t clockStart) in FUZ_GetClockSpan() argument107 return clock() - clockStart; /* works even if overflow; max span ~ 30mn */ in FUZ_GetClockSpan()334 clock_t const clockStart = clock(); in FUZ_test() local373 (cycleNb < nbCycles) || (FUZ_GetClockSpan(clockStart) < clockDuration); in FUZ_test()
157 static clock_t FUZ_GetClockSpan(clock_t clockStart) in FUZ_GetClockSpan() argument159 return clock() - clockStart; /* works even if overflow; max span ~ 30 mn */ in FUZ_GetClockSpan()