Searched refs:GpuTimer (Results 1 – 16 of 16) sorted by relevance
26 bool GpuTimer::Init() { in Init()51 void GpuTimer::Destroy() { in Destroy()64 float GpuTimer::GetElapsedMilliseconds() const { in GetElapsedMilliseconds()74 bool GpuTimer::Start(GpuStream* stream) { in Start()83 bool GpuTimer::Stop(GpuStream* stream) { in Stop()
35 class GpuTimer : public internal::TimerInterface {37 explicit GpuTimer(GpuExecutor* parent) in GpuTimer() function43 ~GpuTimer() override {} in ~GpuTimer()81 void operator()(GpuTimer* t) { in operator()
24 class GpuTimer {26 GpuTimer(bool disjointSupport) in GpuTimer() function30 virtual ~GpuTimer() { SkASSERT(!fActiveTimer); } in ~GpuTimer()
24 class GpuTimer; variable38 GpuTimer* gpuTimer() const { SkASSERT(fGpuTimer); return fGpuTimer.get(); } in gpuTimer()102 std::unique_ptr<GpuTimer> fGpuTimer;
27 using CUDATimer = gpu::GpuTimer;
93 static GpuTimer* AsGpuTimer(Timer* timer) { in AsGpuTimer()95 return static_cast<GpuTimer*>(timer->implementation()); in AsGpuTimer()956 return std::unique_ptr<internal::TimerInterface>(new GpuTimer(this)); in GetTimerImplementation()
1554 std::unique_ptr<GpuTimer, GpuTimerDeleter> timer; in DoRnnForwardImpl()1557 timer.reset(new GpuTimer(parent_)); in DoRnnForwardImpl()1697 std::unique_ptr<GpuTimer, GpuTimerDeleter> timer; in DoRnnBackwardImpl()1700 timer.reset(new GpuTimer(parent_)); in DoRnnBackwardImpl()2714 std::unique_ptr<GpuTimer, GpuTimerDeleter> timer; in DoConvolve()2716 timer.reset(new GpuTimer(parent_)); // NOLINT in DoConvolve()2967 std::unique_ptr<GpuTimer, GpuTimerDeleter> timer; in DoFusedConvolveImpl()2969 timer.reset(new GpuTimer(parent_)); // NOLINT in DoFusedConvolveImpl()
1804 std::unique_ptr<GpuTimer, GpuTimerDeleter> timer; in DoBlasGemvWithProfilingImpl()1806 timer.reset(new GpuTimer(parent_)); in DoBlasGemvWithProfilingImpl()1836 std::unique_ptr<GpuTimer, GpuTimerDeleter> timer; in DoBlasGemmWithProfilingImpl()1838 timer.reset(new GpuTimer(parent_)); in DoBlasGemmWithProfilingImpl()1926 std::unique_ptr<GpuTimer, GpuTimerDeleter> timer; in DoBlasGemmWithAlgorithmImpl()1928 timer.reset(new GpuTimer(parent_)); in DoBlasGemmWithAlgorithmImpl()
145 class GLGpuTimer : public sk_gpu_test::GpuTimer {183 typedef sk_gpu_test::GpuTimer INHERITED;241 sk_gpu_test::GpuTimer::QueryStatus
70 static GpuTimer* AsGpuTimer(Timer* timer) { in AsGpuTimer()72 return static_cast<GpuTimer*>(timer->implementation()); in AsGpuTimer()858 return std::unique_ptr<internal::TimerInterface>(new GpuTimer(this)); in GetTimerImplementation()
2835 std::unique_ptr<GpuTimer> timer; in DoConvolve()2837 timer.reset(new GpuTimer(parent_)); in DoConvolve()4060 std::unique_ptr<GpuTimer> timer; in DoFusedConvolutionBiasActivationImpl()4062 timer.reset(new GpuTimer(parent_)); in DoFusedConvolutionBiasActivationImpl()4158 std::unique_ptr<GpuTimer> timer; in DoFusedBatchNormActivationInferenceImpl()4160 timer.reset(new GpuTimer(parent_)); in DoFusedBatchNormActivationInferenceImpl()4269 std::unique_ptr<GpuTimer> timer; in DoFusedBatchNormActivationForwardImpl()4271 timer.reset(new GpuTimer(parent_)); in DoFusedBatchNormActivationForwardImpl()4385 std::unique_ptr<GpuTimer> timer; in DoFusedBatchNormActivationBackwardImpl()4387 timer.reset(new GpuTimer(parent_)); in DoFusedBatchNormActivationBackwardImpl()
230 static void run_gpu_time_benchmark(sk_gpu_test::GpuTimer* gpuTimer, in run_gpu_time_benchmark()269 using QueryStatus = sk_gpu_test::GpuTimer::QueryStatus; in run_gpu_time_benchmark()