Home
last modified time | relevance | path

Searched refs:timer1 (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4c/source/tools/ctestfw/unicode/
Dutimer.h180 static double uprv_delta(UTimer* timer1, UTimer* timer2){ in uprv_delta() argument
181 …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() argument
184 return (timer1->placeHolder.QuadPart == timer2->placeHolder.QuadPart); in uprv_compareFrequency()
202 static double uprv_delta(UTimer* timer1, UTimer* timer2){ in uprv_delta() argument
205 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() argument
235 if(uprv_compareFrequency(timer1,timer2)){ in utimer_getDeltaSeconds()
236 return uprv_delta(timer1,timer2); in utimer_getDeltaSeconds()
/external/python/cpython2/Doc/whatsnew/
D2.3.rst1547 timer1 = timeit.Timer('unicode("abc")')
1551 print timer1.repeat(repeat=3, number=100000)