Searched refs:timer1 (Results 1 – 2 of 2) sorted by relevance
180 static double uprv_delta(UTimer* timer1, UTimer* timer2){ in uprv_delta() argument181 …return ((double)(timer2->start.QuadPart - timer1->start.QuadPart))/((double)timer1->placeHolder.Qu… in uprv_delta()183 static UBool uprv_compareFrequency(UTimer* timer1, UTimer* timer2){ in uprv_compareFrequency() argument184 return (timer1->placeHolder.QuadPart == timer2->placeHolder.QuadPart); in uprv_compareFrequency()202 static double uprv_delta(UTimer* timer1, UTimer* timer2){ in uprv_delta() argument205 t1 = (double)timer1->start.tv_sec + (double)timer1->start.tv_usec/(1000*1000); in uprv_delta()234 utimer_getDeltaSeconds(UTimer* timer1, UTimer* timer2){ in utimer_getDeltaSeconds() argument235 if(uprv_compareFrequency(timer1,timer2)){ in utimer_getDeltaSeconds()236 return uprv_delta(timer1,timer2); in utimer_getDeltaSeconds()
1547 timer1 = timeit.Timer('unicode("abc")')1551 print timer1.repeat(repeat=3, number=100000)