Home | History | Annotate | Download | only in unicode

Lines Matching refs:timer

56  *          UTimer timer;
126 * void perf(UTimer* timer, UChar* source, int32_t sourceLen, UChar* target, int32_t targetLen, int32_t loopCount,UNormalizationMode mode, UErrorCode* error){
131 * utimer_getTime(timer);
170 static int uprv_initFrequency(UTimer* timer)
172 return QueryPerformanceFrequency(&timer->placeHolder);
174 static void uprv_start(UTimer* timer)
176 QueryPerformanceCounter(&timer->start);
192 static int32_t uprv_initFrequency(UTimer* /*timer*/)
196 static void uprv_start(UTimer* timer)
198 gettimeofday(&timer->start, 0);
213 * Intializes the timer with the current time
215 * @param timer A pointer to UTimer struct to recieve the current time
218 utimer_getTime(UTimer* timer){
219 uprv_initFrequency(timer);
220 uprv_start(timer);
243 * @param timer A pointer to UTimer struct to be used as starting time
247 utimer_getElapsedSeconds(UTimer* timer){
250 return uprv_delta(timer,&temp);
267 UTimer timer;
270 utimer_getTime(&timer);
273 currentVal = utimer_getElapsedSeconds(&timer);