Home
last modified time | relevance | path

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

/third_party/lz4/programs/
Dutil.h185 UTIL_STATIC U64 UTIL_getSpanTimeMicro(UTIL_time_t clockStart, UTIL_time_t clockEnd) in UTIL_getSpanTimeMicro() argument
194 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() argument
205 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() argument
221 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() argument
231 return ((clockEnd - clockStart) * (U64)rate.numer) / ((U64)rate.denom); in UTIL_getSpanTimeNano()
278 …IL_getSpanTimeMicro(UTIL_time_t clockStart, UTIL_time_t clockEnd) { return 1000000ULL * (clockEnd in UTIL_getSpanTimeMicro() argument
279 …L_getSpanTimeNano(UTIL_time_t clockStart, UTIL_time_t clockEnd) { return 1000000000ULL * (clockEnd in UTIL_getSpanTimeNano() argument
[all …]
Dlz4io.c411 clock_t clockEnd; in LZ4IO_compressFilename_Legacy() local
461 clockEnd = clock(); in LZ4IO_compressFilename_Legacy()
462 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()