Home
last modified time | relevance | path

Searched refs:GpuTimer (Results 1 – 16 of 16) sorted by relevance

/external/tensorflow/tensorflow/stream_executor/gpu/
Dgpu_timer.h35 class GpuTimer : public internal::TimerInterface {
37 explicit GpuTimer(GpuExecutor* parent) in GpuTimer() function
43 ~GpuTimer() override {} in ~GpuTimer()
81 void operator()(GpuTimer* t) { in operator()
Dgpu_timer.cc26 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()
/external/skqp/tools/gpu/
DGpuTimer.h24 class GpuTimer {
26 GpuTimer(bool disjointSupport) in GpuTimer() function
30 virtual ~GpuTimer() { SkASSERT(!fActiveTimer); } in ~GpuTimer()
DTestContext.h24 class GpuTimer; variable
38 GpuTimer* gpuTimer() const { SkASSERT(fGpuTimer); return fGpuTimer.get(); } in gpuTimer()
102 std::unique_ptr<GpuTimer> fGpuTimer;
/external/skia/tools/gpu/
DGpuTimer.h24 class GpuTimer {
26 GpuTimer(bool disjointSupport) in GpuTimer() function
30 virtual ~GpuTimer() { SkASSERT(!fActiveTimer); } in ~GpuTimer()
DTestContext.h24 class GpuTimer; variable
38 GpuTimer* gpuTimer() const { SkASSERT(fGpuTimer); return fGpuTimer.get(); } in gpuTimer()
103 std::unique_ptr<GpuTimer> fGpuTimer;
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_timer.h27 using CUDATimer = gpu::GpuTimer;
Dcuda_gpu_executor.cc93 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()
Dcuda_dnn.cc1768 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()
Dcuda_blas.cc1804 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()
/external/skqp/tools/gpu/gl/
DGLTestContext.cpp145 class GLGpuTimer : public sk_gpu_test::GpuTimer {
183 typedef sk_gpu_test::GpuTimer INHERITED;
241 sk_gpu_test::GpuTimer::QueryStatus
/external/skia/tools/gpu/gl/
DGLTestContext.cpp145 class GLGpuTimer : public sk_gpu_test::GpuTimer {
183 typedef sk_gpu_test::GpuTimer INHERITED;
241 sk_gpu_test::GpuTimer::QueryStatus
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_gpu_executor.cc69 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()
Drocm_dnn.cc2828 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()
/external/skqp/tools/skpbench/
Dskpbench.cpp230 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()
/external/skia/tools/skpbench/
Dskpbench.cpp316 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()