Searched refs:GpuTimer (Results 1 – 16 of 16) sorted by relevance
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()
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()
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;
24 class GpuTimer; variable38 GpuTimer* gpuTimer() const { SkASSERT(fGpuTimer); return fGpuTimer.get(); } in gpuTimer()103 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()928 return std::unique_ptr<internal::TimerInterface>(new GpuTimer(this)); in GetTimerImplementation()
1768 std::unique_ptr<GpuTimer, GpuTimerDeleter> timer; in DoRnnForwardImpl()1771 timer.reset(new GpuTimer(parent_)); in DoRnnForwardImpl()1911 std::unique_ptr<GpuTimer, GpuTimerDeleter> timer; in DoRnnBackwardImpl()1914 timer.reset(new GpuTimer(parent_)); in DoRnnBackwardImpl()2986 std::unique_ptr<GpuTimer, GpuTimerDeleter> timer; in DoConvolve()2988 timer.reset(new GpuTimer(parent_)); // NOLINT in DoConvolve()3258 std::unique_ptr<GpuTimer, GpuTimerDeleter> timer; in DoFusedConvolveImpl()3260 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
69 static GpuTimer* AsGpuTimer(Timer* timer) { in AsGpuTimer()71 return static_cast<GpuTimer*>(timer->implementation()); in AsGpuTimer()828 return std::unique_ptr<internal::TimerInterface>(new GpuTimer(this)); in GetTimerImplementation()
2828 std::unique_ptr<GpuTimer> timer; in DoConvolve()2830 timer.reset(new GpuTimer(parent_)); in DoConvolve()4348 std::unique_ptr<GpuTimer> timer; in DoFusedConvolutionBiasActivationImpl()4350 timer.reset(new GpuTimer(parent_)); in DoFusedConvolutionBiasActivationImpl()4446 std::unique_ptr<GpuTimer> timer; in DoFusedBatchNormActivationInferenceImpl()4448 timer.reset(new GpuTimer(parent_)); in DoFusedBatchNormActivationInferenceImpl()4557 std::unique_ptr<GpuTimer> timer; in DoFusedBatchNormActivationForwardImpl()4559 timer.reset(new GpuTimer(parent_)); in DoFusedBatchNormActivationForwardImpl()4673 std::unique_ptr<GpuTimer> timer; in DoFusedBatchNormActivationBackwardImpl()4675 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()
316 static void run_gpu_time_benchmark(sk_gpu_test::GpuTimer* gpuTimer, in run_gpu_time_benchmark()355 using QueryStatus = sk_gpu_test::GpuTimer::QueryStatus; in run_gpu_time_benchmark()