| /external/jmdns/src/javax/jmdns/impl/tasks/state/ |
| Canceler.java | 8 import java.util.Timer; 52 * @see javax.jmdns.impl.tasks.DNSTask#start(java.util.Timer) 55 public void start(Timer timer) { 56 timer.schedule(this, 0, DNSConstants.ANNOUNCE_WAIT_INTERVAL);
|
| Prober.java | 8 import java.util.Timer; 57 * @see javax.jmdns.impl.tasks.DNSTask#start(java.util.Timer) 60 public void start(Timer timer) { 70 timer.schedule(this, JmDNSImpl.getRandom().nextInt(1 + DNSConstants.PROBE_WAIT_INTERVAL), DNSConstants.PROBE_WAIT_INTERVAL); 72 timer.schedule(this, DNSConstants.PROBE_CONFLICT_INTERVAL, DNSConstants.PROBE_CONFLICT_INTERVAL);
|
| /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/ |
| progress.hpp | 7 // See http://www.boost.org/libs/timer for documentation. 22 #include <boost/timer.hpp> 32 // A progress_timer behaves like a timer except that the destructor displays 35 class progress_timer : public timer, private noncopyable
|
| /external/chromium_org/net/disk_cache/blockfile/ |
| disk_cache_perftest.cc | 15 #include "base/timer/timer.h" 56 base::PerfTimeLogger timer("Write disk cache entries"); 88 timer.Done(); 110 base::PerfTimeLogger timer(message); 137 timer.Done(); 153 base::PerfTimeLogger timer("Hash disk cache keys"); 158 timer.Done();
|
| /external/chromium_org/third_party/libsrtp/srtp/crypto/cipher/ |
| cipher.c | 396 clock_t timer; local 406 timer = clock(); 411 timer = clock() - timer; 415 if (timer == 0) { 420 return (uint64_t)CLOCKS_PER_SEC * num_trials * 8 * octets_in_buffer / timer;
|
| /external/chromium_org/v8/test/cctest/ |
| test-time.cc | 134 ElapsedTimer timer; local 135 timer.Start(); 136 while (!timer.HasExpired(TimeDelta::FromMilliseconds(100))) { 158 ElapsedTimer timer; local 159 timer.Start(); 172 } while (delta > target_granularity && !timer.HasExpired(kExpirationTimeout));
|
| /external/qemu/ |
| buffered_file.c | 16 #include "qemu/timer.h" 37 QEMUTimer *timer; member in struct:QEMUFileBuffered 184 timer_del(s->timer); 185 timer_free(s->timer); 240 timer_mod(s->timer, qemu_clock_get_ms(QEMU_CLOCK_REALTIME) + 100); 280 s->timer = timer_new(QEMU_CLOCK_REALTIME, SCALE_MS, buffered_rate_tick, s); 282 timer_mod(s->timer, qemu_clock_get_ms(QEMU_CLOCK_REALTIME) + 100);
|
| /external/srtp/crypto/cipher/ |
| cipher.c | 382 clock_t timer; local 392 timer = clock(); 397 timer = clock() - timer; 401 if (timer == 0) { 406 return (uint64_t)CLOCKS_PER_SEC * num_trials * 8 * octets_in_buffer / timer;
|
| /external/chromium_org/third_party/skia/bench/ |
| benchmain.cpp | 533 BenchTimer timer(contextHelper); 535 BenchTimer timer; local 553 if (loopsPerIter >= (1<<30) || timer.fWall > FLAGS_maxMs) { 568 timer.start(); 610 timer.truncatedEnd(); 617 timer.end(); 621 frameIntervalTime += timer.fWall; 632 // timer.fWall, loopsPerFrame); 636 const double current = timer.fWall / loopsPerIter; 639 converged = HasConverged(previous, current, timer.fWall) [all...] |
| /external/skia/bench/ |
| benchmain.cpp | 26 #include "Timer.h" 533 Timer timer(contextHelper); 535 Timer timer; local 553 if (loopsPerIter >= (1<<30) || timer.fWall > FLAGS_maxMs) { 568 timer.start(); 610 timer.truncatedEnd(); 617 timer.end(); 621 frameIntervalTime += timer.fWall [all...] |
| /external/qemu/android/ |
| shaper.c | 14 #include "qemu/timer.h" 49 * in this interval is placed in a queue, associated to a timer 51 * there are different (queue/timer/rate) values for the input and output 105 QEMUTimer* timer; /* QEMU timer */ member in struct:NetShaperRec_ 126 timer_del(shaper->timer); 127 timer_free(shaper->timer); 128 shaper->timer = NULL; 133 /* this function is called when the shaper's timer expires */ 151 /* reprogram timer if needed * 387 QEMUTimer* timer; member in struct:NetDelayRec_ [all...] |
| /external/chromium_org/chrome/common/extensions/docs/server2/ |
| cron_servlet.py | 26 from timer import Timer, TimerClosure 61 timer = Timer() 81 timer.Stop().FormatElapsed()) 175 resolve_timer = Timer() 196 timer = Timer() 200 _cronlog.info('%s took %s' % (title, timer.Stop().FormatElapsed())) 216 timer = Timer( [all...] |
| /external/bluetooth/bluedroid/osi/src/ |
| alarm.c | 59 static timer_t timer; variable 131 // Add it into the timer list sorted by deadline (earliest deadline first). 239 timer_delete(timer); 262 if (timer_create(CLOCK_ID, &sigevent, &timer) == -1) { 263 ALOGE("%s unable to create timer: %s", __func__, strerror(errno)); 271 if (timer_settime(timer, TIMER_ABSTIME, &wakeup_time, NULL) == -1) { 272 ALOGE("%s unable to set timer: %s", __func__, strerror(errno)); 273 timer_delete(timer);
|
| /external/chromium_org/third_party/libsrtp/srtp/test/ |
| rdbx_driver.c | 334 clock_t timer; local 343 timer = clock(); 354 timer = clock() - timer; 360 return (double) CLOCKS_PER_SEC * num_trials / timer;
|
| /external/chromium_org/v8/tools/ |
| lexer-shell.cc | 55 ElapsedTimer* timer, 83 timer->Start(); 136 ElapsedTimer timer; local 137 BaselineScanner scanner(fname, isolate, encoding, &timer, repeat); 146 return timer.Elapsed();
|
| /external/qemu/distrib/sdl-1.2.15/src/timer/ |
| SDL_timer.c | 38 /* Data used for a thread-based timer */ 53 /* Set whether or not the timer should use a thread. 54 This should not be called while the timer subsystem is running. 61 SDL_SetError("Timer already initialized"); 118 struct _SDL_TimerID timer; local 126 printf("Executing timer %p (thread = %d)\n", 129 timer = *t; 131 ms = timer.cb(timer.interval, timer.param) [all...] |
| /external/qemu/hw/android/goldfish/ |
| timer.c | 13 #include "qemu/timer.h" 34 QEMUTimer *timer; member in struct:timer_state 43 qemu_put_be64(f, s->now_ns); /* in case the kernel is in the middle of a timer read */ 70 timer_mod(s->timer, alarm_tks); 103 timer_mod(s->timer, alarm_ns); 111 timer_del(s->timer); 239 timer_state.timer = timer_new(QEMU_CLOCK_VIRTUAL, SCALE_NS, goldfish_timer_tick, &timer_state);
|
| /external/chromium_org/chrome/common/extensions/docs/examples/api/cookies/ |
| manager.js | 9 // A simple Timer class. 10 function Timer() { 103 var timer = new Timer(); 118 var timer = new Timer(); 122 timer.reset(); 138 var timer = new Timer(); 240 var timer = new Timer() [all...] |
| /external/chromium_org/third_party/WebKit/Source/core/dom/ |
| PresentationAttributeStyle.cpp | 38 #include "platform/Timer.h" 99 void cleanCache(Timer<PresentationAttributeCacheCleaner>* timer) 101 ASSERT_UNUSED(timer, timer == &m_cleanTimer); 110 Timer<PresentationAttributeCacheCleaner> m_cleanTimer;
|
| /external/chromium_org/third_party/WebKit/Source/core/xml/ |
| XMLHttpRequestProgressEventThrottle.cpp | 67 // The timer is not active so the least frequent event for now is every byte. 79 // The timer is already active so minimumProgressEventDispatchingIntervalInSeconds is the least frequent event. 129 // We stop the timer as this is called when no more events are supposed to occur. 135 void XMLHttpRequestProgressEventThrottle::dispatchDeferredEvents(Timer<XMLHttpRequestProgressEventThrottle>* timer) 137 ASSERT_UNUSED(timer, timer == &m_dispatchDeferredEventsTimer); 163 // No progress event was queued since the previous dispatch, we can safely stop the timer.
|
| /external/chromium_org/v8/src/ |
| snapshot-common.cc | 82 ElapsedTimer timer; local 84 timer.Start(); 91 double ms = timer.Elapsed().InMillisecondsF();
|
| /external/eigen/bench/ |
| geometry.cpp | 75 BenchTimer timer; local 76 BENCH(timer,10,100000,transform(t,data)); 78 cout << timer.best() << " ";
|
| sparse_setter.cpp | 37 timer.reset(); \ 39 timer.start(); \ 42 } timer.stop(); } 67 BenchTimer timer; local 114 std::cout << "Eigen Dense\t" << timer.value() << "\n"; 122 // std::cout << "Eigen fillrand\t" << timer.value() << "\n"; 126 std::cout << "Eigen dynamic\t" << timer.value() << "\n"; 130 // std::cout << "Eigen compact\t" << timer.value() << "\n"; 134 std::cout << "Eigen sumeq\t" << timer.value() << "\n"; 138 // std::cout << "Eigen std::map\t" << timer.value() << "\n" [all...] |
| /external/qemu/slirp/ |
| tcp_timer.c | 41 static struct tcpcb *tcp_timers(register struct tcpcb *tp, int timer); 128 * TCP timer processing. 131 tcp_timers(register struct tcpcb *tp, int timer) 137 switch (timer) { 154 * Retransmission timer went off. Message has not 219 * If timing a segment in this window, stop the timer. 258 * Persistence timer into zero window. 270 * Keep-alive timer went off; send something
|
| /external/qemu/slirp-android/ |
| tcp_timer.c | 41 static struct tcpcb *tcp_timers(register struct tcpcb *tp, int timer); 128 * TCP timer processing. 131 tcp_timers(register struct tcpcb *tp, int timer) 137 switch (timer) { 154 * Retransmission timer went off. Message has not 219 * If timing a segment in this window, stop the timer. 258 * Persistence timer into zero window. 270 * Keep-alive timer went off; send something
|