Searched refs:TimerInterface (Results 1 – 9 of 9) sorted by relevance
26 class TimerInterface; variable57 internal::TimerInterface *implementation() { return implementation_.get(); } in implementation()66 std::unique_ptr<internal::TimerInterface> implementation_;
145 class TimerInterface {148 TimerInterface() {} in TimerInterface() function151 virtual ~TimerInterface() {} in ~TimerInterface()160 SE_DISALLOW_COPY_AND_ASSIGN(TimerInterface);361 virtual std::unique_ptr<TimerInterface> GetTimerImplementation() = 0;385 using TimerFactory = std::function<TimerInterface *(StreamExecutor *)>;
26 class HostTimer : public internal::TimerInterface {
202 std::unique_ptr<internal::TimerInterface> GetTimerImplementation() override { in GetTimerImplementation()203 return std::unique_ptr<internal::TimerInterface>(new HostTimer()); in GetTimerImplementation()
202 std::unique_ptr<internal::TimerInterface> GetTimerImplementation() override { in GetTimerImplementation()203 return std::unique_ptr<internal::TimerInterface>(new host::HostTimer()); in GetTimerImplementation()
35 class GpuTimer : public internal::TimerInterface {
232 std::unique_ptr<internal::TimerInterface> GetTimerImplementation() override;
856 std::unique_ptr<internal::TimerInterface>858 return std::unique_ptr<internal::TimerInterface>(new GpuTimer(this)); in GetTimerImplementation()
954 std::unique_ptr<internal::TimerInterface>956 return std::unique_ptr<internal::TimerInterface>(new GpuTimer(this)); in GetTimerImplementation()