Lines Matching refs:timer
170 static int uprv_initFrequency(UTimer* timer) in uprv_initFrequency() argument
172 return QueryPerformanceFrequency(&timer->placeHolder); in uprv_initFrequency()
174 static void uprv_start(UTimer* timer) in uprv_start() argument
176 QueryPerformanceCounter(&timer->start); in uprv_start()
196 static void uprv_start(UTimer* timer) in uprv_start() argument
198 gettimeofday(&timer->start, 0); in uprv_start()
218 utimer_getTime(UTimer* timer){ in utimer_getTime() argument
219 uprv_initFrequency(timer); in utimer_getTime()
220 uprv_start(timer); in utimer_getTime()
247 utimer_getElapsedSeconds(UTimer* timer){ in utimer_getElapsedSeconds() argument
250 return uprv_delta(timer,&temp); in utimer_getElapsedSeconds()
267 UTimer timer; in utimer_loopUntilDone() local
270 utimer_getTime(&timer); in utimer_loopUntilDone()
273 currentVal = utimer_getElapsedSeconds(&timer); in utimer_loopUntilDone()