Lines Matching refs:clockEnd
28 PTime UTIL_getSpanTimeMicro(UTIL_time_t clockStart, UTIL_time_t clockEnd) in UTIL_getSpanTimeMicro() argument
39 return 1000000ULL*(clockEnd.QuadPart - clockStart.QuadPart)/ticksPerSecond.QuadPart; in UTIL_getSpanTimeMicro()
42 PTime UTIL_getSpanTimeNano(UTIL_time_t clockStart, UTIL_time_t clockEnd) in UTIL_getSpanTimeNano() argument
53 return 1000000000ULL*(clockEnd.QuadPart - clockStart.QuadPart)/ticksPerSecond.QuadPart; in UTIL_getSpanTimeNano()
62 PTime UTIL_getSpanTimeMicro(UTIL_time_t clockStart, UTIL_time_t clockEnd) in UTIL_getSpanTimeMicro() argument
70 return (((clockEnd - clockStart) * (PTime)rate.numer) / ((PTime)rate.denom))/1000ULL; in UTIL_getSpanTimeMicro()
73 PTime UTIL_getSpanTimeNano(UTIL_time_t clockStart, UTIL_time_t clockEnd) in UTIL_getSpanTimeNano() argument
81 return ((clockEnd - clockStart) * (PTime)rate.numer) / ((PTime)rate.denom); in UTIL_getSpanTimeNano()
141 …IL_getSpanTimeMicro(UTIL_time_t clockStart, UTIL_time_t clockEnd) { return 1000000ULL * (clockEnd … in UTIL_getSpanTimeMicro() argument
142 …L_getSpanTimeNano(UTIL_time_t clockStart, UTIL_time_t clockEnd) { return 1000000000ULL * (clockEnd… in UTIL_getSpanTimeNano() argument
151 UTIL_time_t const clockEnd = UTIL_getTime(); in UTIL_clockSpanMicro() local
152 return UTIL_getSpanTimeMicro(clockStart, clockEnd); in UTIL_clockSpanMicro()
158 UTIL_time_t const clockEnd = UTIL_getTime(); in UTIL_clockSpanNano() local
159 return UTIL_getSpanTimeNano(clockStart, clockEnd); in UTIL_clockSpanNano()
165 UTIL_time_t clockEnd; in UTIL_waitForNextTick() local
167 clockEnd = UTIL_getTime(); in UTIL_waitForNextTick()
168 } while (UTIL_getSpanTimeNano(clockStart, clockEnd) == 0); in UTIL_waitForNextTick()