Home
last modified time | relevance | path

Searched refs:timer2 (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/icu/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
206 t2 = (double)timer2->start.tv_sec + (double)timer2->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()
/third_party/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
206 t2 = (double)timer2->start.tv_sec + (double)timer2->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()
/third_party/node/test/parallel/
Dtest-timers-unrefed-in-callback.js49 const timer2 = setInterval(() => {
50 timer2.unref();
/third_party/python/Lib/test/
Dtest_threading.py1547 timer2 = threading.Timer(0.01, self._callback_spy)
1548 timer2.start()
1553 timer2.join()
/third_party/python/Doc/whatsnew/
D2.3.rst1548 timer2 = timeit.Timer('"abc" + u""')
1552 print timer2.repeat(repeat=3, number=100000)