Lines Matching refs:UTIL_time_t
130 typedef clock_t UTIL_time_t; typedef
131 UTIL_STATIC void UTIL_initTimer(UTIL_time_t* ticksPerSecond) { *ticksPerSecond=0; } in UTIL_initTimer()
132 UTIL_STATIC void UTIL_getTime(UTIL_time_t* x) { *x = clock(); } in UTIL_getTime()
133 …UTIL_STATIC U64 UTIL_getSpanTimeMicro(UTIL_time_t ticksPerSecond, UTIL_time_t clockStart, UTIL_tim… in UTIL_getSpanTimeMicro()
134 …UTIL_STATIC U64 UTIL_getSpanTimeNano(UTIL_time_t ticksPerSecond, UTIL_time_t clockStart, UTIL_time… in UTIL_getSpanTimeNano()
136 typedef LARGE_INTEGER UTIL_time_t; typedef
137 …UTIL_STATIC void UTIL_initTimer(UTIL_time_t* ticksPerSecond) { if (!QueryPerformanceFrequency(tick… in UTIL_initTimer()
138 UTIL_STATIC void UTIL_getTime(UTIL_time_t* x) { QueryPerformanceCounter(x); } in UTIL_getTime()
139 …UTIL_STATIC U64 UTIL_getSpanTimeMicro(UTIL_time_t ticksPerSecond, UTIL_time_t clockStart, UTIL_tim… in UTIL_getSpanTimeMicro()
140 …UTIL_STATIC U64 UTIL_getSpanTimeNano(UTIL_time_t ticksPerSecond, UTIL_time_t clockStart, UTIL_time… in UTIL_getSpanTimeNano()
145 UTIL_STATIC U64 UTIL_clockSpanMicro( UTIL_time_t clockStart, UTIL_time_t ticksPerSecond ) in UTIL_clockSpanMicro()
147 UTIL_time_t clockEnd; in UTIL_clockSpanMicro()
153 UTIL_STATIC void UTIL_waitForNextTick(UTIL_time_t ticksPerSecond) in UTIL_waitForNextTick()
155 UTIL_time_t clockStart, clockEnd; in UTIL_waitForNextTick()