Home | History | Annotate | Download | only in unicode

Lines Matching refs:timer1

136  *          UTimer start,timer1, timer2, timer3, timer4;
141 * perf(timer1, source,sourceLen, target, targetLen,loopCount,UNORM_NFD,&error);
142 * NFDTimeTaken = utimer_getDeltaSeconds(start,timer1);
178 double uprv_delta(UTimer* timer1, UTimer* timer2){
179 return ((double)(timer2->start.QuadPart - timer1->start.QuadPart))/((double)timer1->placeHolder.QuadPart);
181 UBool uprv_compareFrequency(UTimer* timer1, UTimer* timer2){
182 return (timer1->placeHolder.QuadPart == timer2->placeHolder.QuadPart);
200 double uprv_delta(UTimer* timer1, UTimer* timer2){
203 t1 = (double)timer1->start.tv_sec + (double)timer1->start.tv_usec/(1000*1000);
207 UBool uprv_compareFrequency(UTimer* /*timer1*/, UTimer* /*timer2*/){
224 * Returns the difference in times between timer1 and timer2 by subtracting
225 * timer1's time from timer2's time
227 * @param timer1 A pointer to UTimer struct to be used as starting time
232 utimer_getDeltaSeconds(UTimer* timer1, UTimer* timer2){
233 if(uprv_compareFrequency(timer1,timer2)){
234 return uprv_delta(timer1,timer2);