Home
last modified time | relevance | path

Searched refs:timer_ (Results 1 – 25 of 36) sorted by relevance

12

/external/tensorflow/tensorflow/stream_executor/tpu/
Dtpu_timer.h28 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/
Dtimer.cc27 : 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
Dtimer_unittest.cc71 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 …]
Dtimer.h315 : timer_(posted_from, in DelayTimer()
320 void Reset() { timer_.Reset(); } in Reset()
323 RetainingOneShotTimer timer_;
Dhi_res_timer_manager.h40 base::RepeatingTimer timer_; variable
/external/grpc-grpc/src/cpp/common/
Dalarm.cc41 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/
Dalarm.cc42 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/
Dexpand_uma_logger.cc31 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()
Dstatistics_calculator.cc48 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()
Dexpand_uma_logger.h47 std::unique_ptr<TickTimer::Countdown> timer_; variable
/external/grpc-grpc/test/cpp/qps/
Dserver.h43 : 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
Dclient.h143 : 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/
Dimportant_file_writer.h122 : timer_; in timer()
124 Timer& timer() { return timer_override_ ? *timer_override_ : timer_; } in timer()
139 OneShotTimer timer_; variable
/external/libchrome/components/timers/
Dalarm_timer_unittest.cc38 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/
Dtask_queue_win.cc201 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/
Dbenchmark.cc138 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/
Dbenchmark.cc138 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/
Dbenchmark.cc132 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/
Dipc_cpu_perftest.cc133 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/
Dbenchmark.cc309 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/
Ddeadline_filter.cc46 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/
Dmemory_pressure_monitor_chromeos.cc148 timer_.Start(FROM_HERE, in StartObserving()
157 timer_.Stop(); in StopObserving()
Dmemory_pressure_monitor_chromeos.h98 base::RepeatingTimer timer_; variable
/external/libchrome/base/test/
Dperf_time_logger.cc23 LogPerfResult(test_name_.c_str(), timer_.Elapsed().InMillisecondsF(), "ms"); in Done()
Dperf_time_logger.h30 ElapsedTimer timer_; variable

12