Home
last modified time | relevance | path

Searched refs:ticksPerSecond (Results 1 – 3 of 3) sorted by relevance

/external/zstd/programs/
Dtimefn.c30 static LARGE_INTEGER ticksPerSecond; in UTIL_getSpanTimeMicro() local
33 if (!QueryPerformanceFrequency(&ticksPerSecond)) { in UTIL_getSpanTimeMicro()
39 return 1000000ULL*(clockEnd.QuadPart - clockStart.QuadPart)/ticksPerSecond.QuadPart; in UTIL_getSpanTimeMicro()
44 static LARGE_INTEGER ticksPerSecond; in UTIL_getSpanTimeNano() local
47 if (!QueryPerformanceFrequency(&ticksPerSecond)) { in UTIL_getSpanTimeNano()
53 return 1000000000ULL*(clockEnd.QuadPart - clockStart.QuadPart)/ticksPerSecond.QuadPart; in UTIL_getSpanTimeNano()
/external/lz4/programs/
Dutil.h152 static LARGE_INTEGER ticksPerSecond; in UTIL_getSpanTimeMicro() local
155 if (!QueryPerformanceFrequency(&ticksPerSecond)) in UTIL_getSpanTimeMicro()
159 return 1000000ULL*(clockEnd.QuadPart - clockStart.QuadPart)/ticksPerSecond.QuadPart; in UTIL_getSpanTimeMicro()
163 static LARGE_INTEGER ticksPerSecond; in UTIL_getSpanTimeNano() local
166 if (!QueryPerformanceFrequency(&ticksPerSecond)) in UTIL_getSpanTimeNano()
170 return 1000000000ULL*(clockEnd.QuadPart - clockStart.QuadPart)/ticksPerSecond.QuadPart; in UTIL_getSpanTimeNano()
/external/rust/crates/libz-sys/src/zlib/contrib/testzlib/
Dtestzlib.c95 LARGE_INTEGER endTime64,ticksPerSecond,ticks; in GetMsecSincePerfCounter() local
104 QueryPerformanceFrequency(&ticksPerSecond); in GetMsecSincePerfCounter()
109 tickSecShifted = Int64ShrlMod32(*(DWORDLONG*)&ticksPerSecond,dwLog); in GetMsecSincePerfCounter()