Searched refs:HostTimer (Results 1 – 7 of 7) sorted by relevance
27 bool HostTimer::Start(Stream* stream) { in Start()31 bool HostTimer::Stop(Stream* stream) { in Stop()35 uint64 HostTimer::Microseconds() const { in Microseconds()39 uint64 HostTimer::Nanoseconds() const { in Nanoseconds()43 void HostTimer::StartNow() { start_time_ = clock::now(); } in StartNow()45 void HostTimer::StopNow() { duration_ = clock::now() - start_time_; } in StopNow()
26 class HostTimer : public internal::TimerInterface {28 HostTimer() {} in HostTimer() function29 ~HostTimer() override {} in ~HostTimer()
173 dynamic_cast<HostTimer *>(timer->implementation())->Start(stream); in StartTimer()178 dynamic_cast<HostTimer *>(timer->implementation())->Stop(stream); in StopTimer()
203 return std::unique_ptr<internal::TimerInterface>(new HostTimer()); in GetTimerImplementation()
101 dynamic_cast<host::HostTimer *>(timer->implementation())->Start(stream); in StartTimer()106 dynamic_cast<host::HostTimer *>(timer->implementation())->Stop(stream); in StopTimer()
203 return std::unique_ptr<internal::TimerInterface>(new host::HostTimer()); in GetTimerImplementation()
49 class HostTimer; variable