Home
last modified time | relevance | path

Searched refs:clockEnd (Results 1 – 2 of 2) sorted by relevance

/third_party/lz4/programs/
Dutil.h218 UTIL_STATIC U64 UTIL_getSpanTimeMicro(UTIL_time_t clockStart, UTIL_time_t clockEnd) in UTIL_getSpanTimeMicro() argument
227 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() argument
238 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() argument
254 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() argument
264 return ((clockEnd - clockStart) * (U64)rate.numer) / ((U64)rate.denom); in UTIL_getSpanTimeNano()
311 …IL_getSpanTimeMicro(UTIL_time_t clockStart, UTIL_time_t clockEnd) { return 1000000ULL * (clockEnd in UTIL_getSpanTimeMicro() argument
312 …L_getSpanTimeNano(UTIL_time_t clockStart, UTIL_time_t clockEnd) { return 1000000000ULL * (clockEnd in UTIL_getSpanTimeNano() argument
[all …]
Dlz4io.c424 clock_t clockEnd; in LZ4IO_compressFilename_Legacy() local
474 clockEnd = clock(); in LZ4IO_compressFilename_Legacy()
475 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()