Home | History | Annotate | Download | only in unicode

Lines Matching refs:timer

58  *          UTimer timer;
128 * void perf(UTimer* timer, UChar* source, int32_t sourceLen, UChar* target, int32_t targetLen, int32_t loopCount,UNormalizationMode mode, UErrorCode* error){
133 * utimer_getTime(timer);
172 static int uprv_initFrequency(UTimer* timer)
174 return QueryPerformanceFrequency(&timer->placeHolder);
176 static void uprv_start(UTimer* timer)
178 QueryPerformanceCounter(&timer->start);
194 static int32_t uprv_initFrequency(UTimer* /*timer*/)
198 static void uprv_start(UTimer* timer)
200 gettimeofday(&timer->start, 0);
215 * Intializes the timer with the current time
217 * @param timer A pointer to UTimer struct to recieve the current time
220 utimer_getTime(UTimer* timer){
221 uprv_initFrequency(timer);
222 uprv_start(timer);
245 * @param timer A pointer to UTimer struct to be used as starting time
249 utimer_getElapsedSeconds(UTimer* timer){
252 return uprv_delta(timer,&temp);
269 UTimer timer;
272 utimer_getTime(&timer);
275 currentVal = utimer_getElapsedSeconds(&timer);