Home
last modified time | relevance | path

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

/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
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()
/third_party/flutter/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
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()
/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
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()
/third_party/boost/libs/asio/test/
Dio_context_strand.cpp170 timer timer1(ioc, chronons::seconds(3)); in strand_test() local
171 timer1.wait(); in strand_test()
174 timer1.expires_at(timer1.expires_at() + chronons::seconds(2)); in strand_test()
176 timer1.expires_at(timer1.expiry() + chronons::seconds(2)); in strand_test()
178 timer1.wait(); in strand_test()
181 timer1.expires_at(timer1.expires_at() + chronons::seconds(2)); in strand_test()
183 timer1.expires_at(timer1.expiry() + chronons::seconds(2)); in strand_test()
185 timer1.wait(); in strand_test()
Dstrand.cpp172 timer timer1(ioc, chronons::seconds(3)); in strand_test() local
173 timer1.wait(); in strand_test()
176 timer1.expires_at(timer1.expires_at() + chronons::seconds(2)); in strand_test()
178 timer1.expires_at(timer1.expiry() + chronons::seconds(2)); in strand_test()
180 timer1.wait(); in strand_test()
183 timer1.expires_at(timer1.expires_at() + chronons::seconds(2)); in strand_test()
185 timer1.expires_at(timer1.expiry() + chronons::seconds(2)); in strand_test()
187 timer1.wait(); in strand_test()
/third_party/python/Lib/tkinter/test/test_tkinter/
Dtest_misc.py78 timer1 = root.after(0, callback)
79 self.assertIn(timer1, root.tk.call('after', 'info'))
80 (script, _) = root.tk.splitlist(root.tk.call('after', 'info', timer1))
88 timer1 = root.after(0, callback, 42, 11)
93 timer1 = root.after(1000, callback)
94 self.assertIn(timer1, root.tk.call('after', 'info'))
95 (script, _) = root.tk.splitlist(root.tk.call('after', 'info', timer1))
96 root.after_cancel(timer1) # Cancel this event.
103 timer1 = root.after(0, functools.partial(callback, 42, 11))
146 timer1 = root.after(5000, callback)
[all …]
/third_party/node/test/parallel/
Dtest-timers-unrefed-in-callback.js30 const timer1 = setInterval(common.mustCall(() => {
31 timer1.unref();
33 clearInterval(timer1);
/third_party/boost/libs/asio/example/cpp03/tutorial/
DJamfile.v233 obj timer1.obj : timer1/timer.cpp ;
34 exe timer1 : timer1.obj ;
Dtimer_dox.txt14 \dontinclude timer1/timer.cpp
62 \include timer1/timer.cpp
/third_party/python/Lib/test/
Dtest_threading.py1541 timer1 = threading.Timer(0.01, self._callback_spy)
1542 timer1.start()
1544 timer1.args.append("blah")
1545 timer1.kwargs["foo"] = "bar"
1552 timer1.join()
/third_party/boost/libs/asio/doc/
Dhistory.qbk126 > timer1(my_io_context);
132 > timer2(std::move(timer1));
/third_party/python/Doc/whatsnew/
D2.3.rst1547 timer1 = timeit.Timer('unicode("abc")')
1551 print timer1.repeat(repeat=3, number=100000)