/external/tensorflow/tensorflow/stream_executor/tpu/ |
D | tpu_timer.h | 28 explicit TpuTimer(SE_Timer* timer) : timer_(timer) {} in TpuTimer() 30 tensorflow::tpu::ExecutorApiFn()->TpuTimer_FreeFn(timer_); in ~TpuTimer() 33 return tensorflow::tpu::ExecutorApiFn()->TpuTimer_MicrosecondsFn(timer_); in Microseconds() 36 return tensorflow::tpu::ExecutorApiFn()->TpuTimer_NanosecondsFn(timer_); in Nanoseconds() 40 SE_Timer* timer_;
|
/external/libchrome/base/timer/ |
D | timer.cc | 27 : timer_(timer) { in BaseTimerTaskInternal() 34 if (timer_) in ~BaseTimerTaskInternal() 35 timer_->AbandonAndStop(); in ~BaseTimerTaskInternal() 40 if (!timer_) in Run() 44 timer_->scheduled_task_ = nullptr; in Run() 48 Timer* timer = timer_; in Run() 49 timer_ = nullptr; in Run() 54 void Abandon() { timer_ = nullptr; } in Abandon() 57 Timer* timer_; member in base::BaseTimerTaskInternal
|
D | timer_unittest.cc | 71 timer_->Start(FROM_HERE, delay_, this, &OneShotTimerTesterBase::Run); in Start() 74 bool IsRunning() { return timer_->IsRunning(); } in IsRunning() 87 std::unique_ptr<OneShotTimer> timer_ = std::make_unique<OneShotTimer>(); member in base::__anon3c9bce4a0111::OneShotTimerTesterBase 111 timer_->SetTaskRunner(std::move(task_runner)); in SetTaskRunner() 149 void OnRun() override { timer_.reset(); } in OnRun() 164 timer_.Start(FROM_HERE, delay_, this, &RepeatingTimerTester::Run); in Start() 181 timer_.Stop(); in Run() 186 RepeatingTimer timer_; member in base::__anon3c9bce4a0111::RepeatingTimerTester 325 : timer_(timer), target_(target) {} in ResetHelper() 329 timer_->Reset(); in Reset() [all …]
|
D | timer.h | 315 : timer_(posted_from, in DelayTimer() 320 void Reset() { timer_.Reset(); } in Reset() 323 RetainingOneShotTimer timer_;
|
D | hi_res_timer_manager.h | 40 base::RepeatingTimer timer_; variable
|
/external/grpc-grpc/src/cpp/common/ |
D | alarm.cc | 41 grpc_timer_init_unset(&timer_); in AlarmImpl() 71 grpc_timer_init(&timer_, grpc_timespec_to_millis_round_up(deadline), in Set() 86 grpc_timer_init(&timer_, grpc_timespec_to_millis_round_up(deadline), in Set() 91 grpc_timer_cancel(&timer_); in Cancel() 106 grpc_timer timer_; member in grpc::internal::AlarmImpl
|
/external/rust/crates/grpcio-sys/grpc/src/cpp/common/ |
D | alarm.cc | 42 grpc_timer_init_unset(&timer_); in AlarmImpl() 74 grpc_timer_init(&timer_, grpc_timespec_to_millis_round_up(deadline), in Set() 97 grpc_timer_init(&timer_, grpc_timespec_to_millis_round_up(deadline), in Set() 103 grpc_timer_cancel(&timer_); in Cancel() 118 grpc_timer timer_; member in grpc::internal::AlarmImpl
|
/external/webrtc/modules/audio_coding/neteq/ |
D | expand_uma_logger.cc | 31 timer_(GetNewCountdown(tick_timer_, logging_period_s_)) { in ExpandUmaLogger() 52 if (!timer_->Finished()) { in UpdateSampleCounter() 67 timer_ = GetNewCountdown(tick_timer_, logging_period_s_); in UpdateSampleCounter()
|
D | statistics_calculator.cc | 48 timer_(0) {} in PeriodicUmaLogger() 53 timer_ += step_ms; in AdvanceClock() 54 if (timer_ < report_interval_ms_) { in AdvanceClock() 59 timer_ -= report_interval_ms_; in AdvanceClock() 60 RTC_DCHECK_GE(timer_, 0); in AdvanceClock()
|
D | expand_uma_logger.h | 47 std::unique_ptr<TickTimer::Countdown> timer_; variable
|
/external/grpc-grpc/test/cpp/qps/ |
D | server.h | 43 : timer_(new UsageTimer), last_reset_poll_count_(0) { in Server() 59 timer.swap(timer_); in Mark() 63 timer_result = timer_->Mark(); in Mark() 148 std::unique_ptr<UsageTimer> timer_; variable
|
D | client.h | 143 : timer_(new UsageTimer), in Client() 168 timer_.swap(timer); in Mark() 180 timer_result = timer_->Mark(); in Mark() 388 std::unique_ptr<UsageTimer> timer_; variable
|
/external/libchrome/base/files/ |
D | important_file_writer.h | 122 : timer_; in timer() 124 Timer& timer() { return timer_override_ ? *timer_override_ : timer_; } in timer() 139 OneShotTimer timer_; variable
|
/external/libchrome/components/timers/ |
D | alarm_timer_unittest.cc | 38 timer_(new timers::SimpleAlarmTimer()) {} in AlarmTimerTester() 40 timer_->Start( in Start() 55 std::unique_ptr<timers::SimpleAlarmTimer> timer_; member in timers::__anon34dccb140111::AlarmTimerTester 68 timer_(new timers::SimpleAlarmTimer()) {} in SelfDeletingAlarmTimerTester() 70 timer_->Start(FROM_HERE, delay_, in Start() 78 timer_.reset(); in Run() 87 std::unique_ptr<timers::SimpleAlarmTimer> timer_; member in timers::__anon34dccb140111::SelfDeletingAlarmTimerTester
|
/external/webrtc/rtc_base/ |
D | task_queue_win.cc | 201 MultimediaTimer timer_; member in webrtc::__anonb2f280180111::TaskQueueWin 284 HANDLE handles[2] = {*timer_.event_for_wait(), in_queue_}; in RunThreadMain() 300 ::WaitForSingleObject(*timer_.event_for_wait(), 0) == WAIT_OBJECT_0)) { in RunThreadMain() 302 timer_.Cancel(); in RunThreadMain() 388 if (!timer_.StartOneShotTimer(milliseconds)) in ScheduleNextTimer() 393 timer_.Cancel(); in CancelTimers()
|
/external/libcxx/utils/google-benchmark/src/ |
D | benchmark.cc | 138 timer_(timer), in State() 171 timer_->StopTimer(); in PauseTiming() 176 timer_->StartTimer(); in ResumeTiming() 190 if (timer_->running()) timer_->StopTimer(); in SkipWithError() 194 timer_->SetIterationTime(seconds); in SetIterationTime()
|
/external/llvm-project/libcxx/utils/google-benchmark/src/ |
D | benchmark.cc | 138 timer_(timer), in State() 171 timer_->StopTimer(); in PauseTiming() 176 timer_->StartTimer(); in ResumeTiming() 190 if (timer_->running()) timer_->StopTimer(); in SkipWithError() 194 timer_->SetIterationTime(seconds); in SetIterationTime()
|
/external/google-benchmark/src/ |
D | benchmark.cc | 132 timer_(timer), in State() 165 timer_->StopTimer(); in PauseTiming() 170 timer_->StartTimer(); in ResumeTiming() 184 if (timer_->running()) timer_->StopTimer(); in SkipWithError() 188 timer_->SetIterationTime(seconds); in SetIterationTime()
|
/external/libchrome/ipc/ |
D | ipc_cpu_perftest.cc | 133 timer_.Start(FROM_HERE, GetFrameTime(params_.frames_per_second), this, in OnHello() 170 timer_.AbandonAndStop(); in StopPingPong() 202 base::RepeatingTimer timer_; member in IPC::__anon4c13cc8a0111::ChannelSteadyPingPongListener 303 timer_.Start(FROM_HERE, GetFrameTime(params_.frames_per_second), this, in OnHello() 340 timer_.AbandonAndStop(); in StopPingPong() 387 base::RepeatingTimer timer_; member in IPC::__anon4c13cc8a0111::MojoSteadyPingPongTest
|
/external/llvm-project/llvm/utils/benchmark/src/ |
D | benchmark.cc | 309 timer_(timer), in State() 336 timer_->StopTimer(); in PauseTiming() 341 timer_->StartTimer(); in ResumeTiming() 355 if (timer_->running()) timer_->StopTimer(); in SkipWithError() 359 timer_->SetIterationTime(seconds); in SetIterationTime()
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/deadline/ |
D | deadline_filter.cc | 46 grpc_timer_init(&timer_, deadline, &closure_); in TimerState() 49 void Cancel() { grpc_timer_cancel(&timer_); } in Cancel() 102 grpc_timer timer_; member in grpc_core::TimerState
|
/external/libchrome/base/memory/ |
D | memory_pressure_monitor_chromeos.cc | 148 timer_.Start(FROM_HERE, in StartObserving() 157 timer_.Stop(); in StopObserving()
|
D | memory_pressure_monitor_chromeos.h | 98 base::RepeatingTimer timer_; variable
|
/external/libchrome/base/test/ |
D | perf_time_logger.cc | 23 LogPerfResult(test_name_.c_str(), timer_.Elapsed().InMillisecondsF(), "ms"); in Done()
|
D | perf_time_logger.h | 30 ElapsedTimer timer_; variable
|