Lines Matching refs:UTIL_time_t
146 typedef LARGE_INTEGER UTIL_time_t; typedef
147 …UTIL_STATIC UTIL_time_t UTIL_getTime(void) { UTIL_time_t x; QueryPerformanceCounter(&x); return x;… in UTIL_getTime()
148 UTIL_STATIC U64 UTIL_getSpanTimeMicro(UTIL_time_t clockStart, UTIL_time_t clockEnd) in UTIL_getSpanTimeMicro()
159 UTIL_STATIC U64 UTIL_getSpanTimeNano(UTIL_time_t clockStart, UTIL_time_t clockEnd) in UTIL_getSpanTimeNano()
174 typedef U64 UTIL_time_t; typedef
175 UTIL_STATIC UTIL_time_t UTIL_getTime(void) { return mach_absolute_time(); } in UTIL_getTime()
176 UTIL_STATIC U64 UTIL_getSpanTimeMicro(UTIL_time_t clockStart, UTIL_time_t clockEnd) in UTIL_getSpanTimeMicro()
186 UTIL_STATIC U64 UTIL_getSpanTimeNano(UTIL_time_t clockStart, UTIL_time_t clockEnd) in UTIL_getSpanTimeNano()
200 typedef struct timespec UTIL_time_t; typedef
201 UTIL_STATIC UTIL_time_t UTIL_getTime(void) in UTIL_getTime()
203 UTIL_time_t now; in UTIL_getTime()
208 UTIL_STATIC UTIL_time_t UTIL_getSpanTime(UTIL_time_t begin, UTIL_time_t end) in UTIL_getSpanTime()
210 UTIL_time_t diff; in UTIL_getSpanTime()
220 UTIL_STATIC U64 UTIL_getSpanTimeMicro(UTIL_time_t begin, UTIL_time_t end) in UTIL_getSpanTimeMicro()
222 UTIL_time_t const diff = UTIL_getSpanTime(begin, end); in UTIL_getSpanTimeMicro()
228 UTIL_STATIC U64 UTIL_getSpanTimeNano(UTIL_time_t begin, UTIL_time_t end) in UTIL_getSpanTimeNano()
230 UTIL_time_t const diff = UTIL_getSpanTime(begin, end); in UTIL_getSpanTimeNano()
239 typedef clock_t UTIL_time_t; typedef
240 UTIL_STATIC UTIL_time_t UTIL_getTime(void) { return clock(); } in UTIL_getTime()
241 …UTIL_STATIC U64 UTIL_getSpanTimeMicro(UTIL_time_t clockStart, UTIL_time_t clockEnd) { return 10000… in UTIL_getSpanTimeMicro()
242 …UTIL_STATIC U64 UTIL_getSpanTimeNano(UTIL_time_t clockStart, UTIL_time_t clockEnd) { return 100000… in UTIL_getSpanTimeNano()
247 UTIL_STATIC U64 UTIL_clockSpanMicro(UTIL_time_t clockStart) in UTIL_clockSpanMicro()
249 UTIL_time_t const clockEnd = UTIL_getTime(); in UTIL_clockSpanMicro()
254 UTIL_STATIC U64 UTIL_clockSpanNano(UTIL_time_t clockStart) in UTIL_clockSpanNano()
256 UTIL_time_t const clockEnd = UTIL_getTime(); in UTIL_clockSpanNano()
262 UTIL_time_t const clockStart = UTIL_getTime(); in UTIL_waitForNextTick()
263 UTIL_time_t clockEnd; in UTIL_waitForNextTick()