Home
last modified time | relevance | path

Searched refs:HostTimer (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/stream_executor/host/
Dhost_timer.cc27 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()
Dhost_timer.h26 class HostTimer : public internal::TimerInterface {
28 HostTimer() {} in HostTimer() function
29 ~HostTimer() override {} in ~HostTimer()
Dhost_gpu_executor.cc173 dynamic_cast<HostTimer *>(timer->implementation())->Start(stream); in StartTimer()
178 dynamic_cast<HostTimer *>(timer->implementation())->Stop(stream); in StopTimer()
Dhost_gpu_executor.h203 return std::unique_ptr<internal::TimerInterface>(new HostTimer()); in GetTimerImplementation()
/external/tensorflow/tensorflow/compiler/xla/service/interpreter/
Dexecutor.cc101 dynamic_cast<host::HostTimer *>(timer->implementation())->Start(stream); in StartTimer()
106 dynamic_cast<host::HostTimer *>(timer->implementation())->Stop(stream); in StopTimer()
Dexecutor.h203 return std::unique_ptr<internal::TimerInterface>(new host::HostTimer()); in GetTimerImplementation()
/external/tensorflow/tensorflow/stream_executor/
Dstream.h49 class HostTimer; variable