Searched refs:TimerInterface (Results 1 – 14 of 14) sorted by relevance
26 class TimerInterface; variable57 internal::TimerInterface *implementation() { return implementation_.get(); } in implementation()66 std::unique_ptr<internal::TimerInterface> implementation_;
144 class TimerInterface {147 TimerInterface() {} in TimerInterface() function150 virtual ~TimerInterface() {} in ~TimerInterface()159 SE_DISALLOW_COPY_AND_ASSIGN(TimerInterface);364 virtual std::unique_ptr<TimerInterface> GetTimerImplementation() = 0;
26 class HostTimer : public internal::TimerInterface {
173 std::unique_ptr<internal::TimerInterface> GetTimerImplementation() override { in GetTimerImplementation()174 return std::unique_ptr<internal::TimerInterface>(new HostTimer()); in GetTimerImplementation()
26 class TpuTimer : public ::stream_executor::internal::TimerInterface {
57 absl::flat_hash_map<stream_executor::internal::TimerInterface*,112 std::unique_ptr<::stream_executor::internal::TimerInterface>
167 std::unique_ptr<::stream_executor::internal::TimerInterface>
35 class GpuTimer : public internal::TimerInterface {
230 std::unique_ptr<internal::TimerInterface> GetTimerImplementation() override;
200 std::unique_ptr<internal::TimerInterface> GetTimerImplementation() override { in GetTimerImplementation()201 return std::unique_ptr<internal::TimerInterface>(new host::HostTimer()); in GetTimerImplementation()
160 class CTimer : public internal::TimerInterface {
656 std::unique_ptr<internal::TimerInterface> GetTimerImplementation() override { in GetTimerImplementation()657 return std::unique_ptr<internal::TimerInterface>( in GetTimerImplementation()
790 std::unique_ptr<internal::TimerInterface>792 return std::unique_ptr<internal::TimerInterface>(new GpuTimer(this)); in GetTimerImplementation()
885 std::unique_ptr<internal::TimerInterface>887 return std::unique_ptr<internal::TimerInterface>(new GpuTimer(this)); in GetTimerImplementation()