Lines Matching refs:clockStart
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 …me UTIL_getSpanTimeMicro(UTIL_time_t clockStart, UTIL_time_t clockEnd) { return 1000000ULL * (cloc… in UTIL_getSpanTimeMicro() argument
142 …me UTIL_getSpanTimeNano(UTIL_time_t clockStart, UTIL_time_t clockEnd) { return 1000000000ULL * (cl… in UTIL_getSpanTimeNano() argument
149 PTime UTIL_clockSpanMicro(UTIL_time_t clockStart ) in UTIL_clockSpanMicro() argument
152 return UTIL_getSpanTimeMicro(clockStart, clockEnd); in UTIL_clockSpanMicro()
156 PTime UTIL_clockSpanNano(UTIL_time_t clockStart ) in UTIL_clockSpanNano() argument
159 return UTIL_getSpanTimeNano(clockStart, clockEnd); in UTIL_clockSpanNano()
164 UTIL_time_t const clockStart = UTIL_getTime(); in UTIL_waitForNextTick() local
168 } while (UTIL_getSpanTimeNano(clockStart, clockEnd) == 0); in UTIL_waitForNextTick()