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()
262 dynamic_cast<HostTimer *>(timer->implementation())->Start(stream); in StartTimer()267 dynamic_cast<HostTimer *>(timer->implementation())->Stop(stream); in StopTimer()
174 return std::unique_ptr<internal::TimerInterface>(new HostTimer()); in GetTimerImplementation()
102 dynamic_cast<host::HostTimer *>(timer->implementation())->Start(stream); in StartTimer()107 dynamic_cast<host::HostTimer *>(timer->implementation())->Stop(stream); in StopTimer()
201 return std::unique_ptr<internal::TimerInterface>(new host::HostTimer()); in GetTimerImplementation()
50 class HostTimer; variable