/external/srtp/crypto/test/ |
H A D | auth_driver.c | 169 clock_t timer; local 188 timer = clock(); 192 timer = clock() - timer; 197 return (double) NUM_TRIALS * 8 * msg_len_octets * CLOCKS_PER_SEC / timer;
|
/external/bluetooth/bluedroid/osi/src/ |
H A D | 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/base/metrics/ |
H A D | stats_counters.h | 129 // A StatsCounterTimer is a StatsCounter which keeps a timer during 134 // Constructs and starts the timer. 138 // Start the timer. 141 // Stop the timer and record the results. 144 // Returns true if the timer is running. 158 // A StatsRate is a timer that keeps a count of the number of intervals added so 163 // Constructs and starts the timer. 175 // Helper class for scoping a timer or rate. 178 explicit StatsScope<T>(T& timer) argument 179 : timer_(timer) { [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/ |
H A D | file_write_watcher.cc | 14 #include "base/timer/timer.h" 63 base::Timer timer; member in struct:drive::internal::FileWriteWatcher::FileWriteWatcherImpl::PathWatchInfo 67 timer(false /* retain_closure_on_reset */, false /* is_repeating */) { 162 // is called again in the period, the timer is reset. In other words, we 164 it->second->timer.Start(FROM_HERE,
|
/external/chromium_org/content/browser/loader/ |
H A D | resource_scheduler.h | 15 #include "base/timer/timer.h" 92 // Use a mock timer when testing. 93 void set_timer_for_testing(scoped_ptr<base::Timer> timer) { argument 94 coalescing_timer_.reset(timer.release()); 209 // This is a repeating timer to initiate requests on COALESCED Clients.
|
/external/chromium_org/extensions/browser/ |
H A D | content_verify_job.cc | 12 #include "base/timer/elapsed_timer.h" 29 ~ScopedElapsedTimer() { *total_ += timer.Elapsed(); } 36 // A timer for how long this object has been alive. 37 base::ElapsedTimer timer; member in class:extensions::__anon8150::ScopedElapsedTimer 75 ScopedElapsedTimer timer(&time_spent_); 122 ScopedElapsedTimer timer(&time_spent_); 182 ScopedElapsedTimer timer(&time_spent_);
|
/external/chromium_org/remoting/host/ |
H A D | gnubby_socket.cc | 8 #include "base/timer/timer.h" 86 void GnubbySocket::SetTimerForTesting(scoped_ptr<base::Timer> timer) { argument 87 timer->Start(FROM_HERE, timer_->GetCurrentDelay(), timer_->user_task()); 88 timer_ = timer.Pass();
|
/external/chromium_org/sync/internal_api/public/attachments/ |
H A D | task_queue.h | 19 #include "base/timer/timer.h" 132 // Use |timer| for scheduled events. 135 void SetTimerForTest(scoped_ptr<base::Timer> timer); 204 // The task succeeded. Stop any pending timer, reset (clear) the backoff, and 234 void TaskQueue<T>::SetTimerForTest(scoped_ptr<base::Timer> timer) { argument 236 DCHECK(timer.get()); 237 backoff_timer_ = timer.Pass();
|
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
H A D | RawResourceTest.cpp | 123 void removeClient(Timer<AddingClient>* timer) argument
|
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
H A D | TextTrackLoader.cpp | 55 void TextTrackLoader::cueLoadTimerFired(Timer<TextTrackLoader>* timer) argument 57 ASSERT_UNUSED(timer, timer == &m_cueLoadTimer);
|
/external/chromium_org/third_party/WebKit/Source/modules/geolocation/testing/ |
H A D | GeolocationClientMock.cpp | 113 void GeolocationClientMock::permissionTimerFired(Timer<GeolocationClientMock>* timer) argument 115 ASSERT_UNUSED(timer, timer == &m_permissionTimer); 160 void GeolocationClientMock::controllerTimerFired(Timer<GeolocationClientMock>* timer) argument 162 ASSERT_UNUSED(timer, timer == &m_controllerTimer);
|
/external/chromium_org/third_party/libsrtp/srtp/crypto/cipher/ |
H A D | 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/third_party/libsrtp/srtp/test/ |
H A D | 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/third_party/skia/tools/ |
H A D | bbh_shootout.cpp | 60 * @param timer The timer used to benchmark the work. 66 Timer* timer) { 77 timer->start(); 79 timer->end(); 62 do_benchmark_work(sk_tools::PictureRenderer* renderer, BBoxType bBoxType, SkPicture* pic, const int numRepeats, Timer* timer) argument
|
/external/chromium_org/third_party/skia/tools/timer/ |
H A D | TimerData.cpp | 21 bool TimerData::appendTimes(Timer* timer) { argument 22 SkASSERT(timer != NULL); 27 fWallTimes[fCurrTiming] = timer->fWall; 28 fTruncatedWallTimes[fCurrTiming] = timer->fTruncatedWall; 29 fCpuTimes[fCurrTiming] = timer->fCpu; 30 fTruncatedCpuTimes[fCurrTiming] = timer->fTruncatedCpu; 31 fGpuTimes[fCurrTiming] = timer->fGpu;
|
/external/chromium_org/v8/tools/ |
H A D | parser-shell.cc | 95 v8::base::ElapsedTimer timer; local 96 timer.Start(); 99 parse_time1 = timer.Elapsed(); 111 v8::base::ElapsedTimer timer; local 112 timer.Start(); 115 parse_time2 = timer.Elapsed();
|
/external/eigen/bench/ |
H A D | benchVecAdd.cpp | 34 BenchTimer timer; local 36 timer.reset(); 39 timer.start(); 41 timer.stop(); 43 std::cout << timer.value() << "s " << (double(size2*REPEAT)/timer.value())/(1024.*1024.*1024.) << " GFlops\n"; 53 timer.reset(); 56 timer.start(); 58 timer.stop(); 60 std::cout << innersize << " x " << outersize << " " << timer [all...] |
H A D | geometry.cpp | 75 BenchTimer timer; local 76 BENCH(timer,10,100000,transform(t,data)); 78 cout << timer.best() << " ";
|
H A D | sparse_cholesky.cpp | 34 timer.reset(); \ 36 timer.start(); \ 39 } timer.stop(); } 67 BenchTimer timer; local 68 timer.start(); 70 timer.stop(); 71 std::cout << ":\t" << timer.value() << endl; 82 BenchTimer timer; local 109 // std::cout << "dense:\t" << timer.value() << endl; 111 BenchTimer timer; local [all...] |
/external/libnfc-nci/src/nfa/int/ |
H A D | nfa_sys.h | 84 UINT8 timer; /* GKI timer id */ member in struct:__anon24256
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
H A D | Pipeline.java | 50 private Timer timer; field in class:Pipeline 112 this.timer.schedule(this.myTimerTask, this.readTimeout); 122 public Pipeline(InputStream pipe, int readTimeout, Timer timer) { argument 125 this.timer = timer;
|
/external/qemu/ |
H A D | 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/qemu/distrib/sdl-1.2.15/src/timer/ |
H A D | 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. 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); 142 /* Remove timer fro [all...] |
/external/qemu/distrib/sdl-1.2.15/src/timer/os2/ |
H A D | SDL_systimer.c | 183 static SDL_Thread *timer = NULL; variable 201 timer = SDL_CreateThread(RunTimer, NULL); 202 if ( timer == NULL ) 210 if ( timer ) { 211 SDL_WaitThread(timer, NULL); 212 timer = NULL; 218 SDL_SetError("Internal logic error: OS/2 uses threaded timer");
|
/external/qemu/telephony/ |
H A D | test2.c | 28 SysTimer timer = _timer; local 34 sys_timer_set( timer, now + DELAY, timer_func, timer ); 36 sys_timer_destroy( timer ); 196 SysTimer timer; local 202 /* create timer and register it */ 203 timer = sys_timer_create(); 204 sys_timer_set( timer, sys_time_ms() + INITIAL_DELAY, timer_func, timer );
|