Home
last modified time | relevance | path

Searched refs:PlatformTimerQuery (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/tools/gpu/
DGpuTimer.h17 using PlatformTimerQuery = uint64_t; variable
18 static constexpr PlatformTimerQuery kInvalidTimerQuery = 0;
50 PlatformTimerQuery SK_WARN_UNUSED_RESULT queueStop() { in queueStop()
63 virtual QueryStatus checkQueryStatus(PlatformTimerQuery) = 0;
64 virtual std::chrono::nanoseconds getTimeElapsed(PlatformTimerQuery) = 0;
65 virtual void deleteQuery(PlatformTimerQuery) = 0;
68 virtual PlatformTimerQuery onQueueTimerStart() const = 0;
69 virtual void onQueueTimerStop(PlatformTimerQuery) const = 0;
72 PlatformTimerQuery fActiveTimer;
/third_party/skia/tools/gpu/gl/
DGLTestContext.cpp20 QueryStatus checkQueryStatus(sk_gpu_test::PlatformTimerQuery) override;
21 std::chrono::nanoseconds getTimeElapsed(sk_gpu_test::PlatformTimerQuery) override;
22 void deleteQuery(sk_gpu_test::PlatformTimerQuery) override;
30 sk_gpu_test::PlatformTimerQuery onQueueTimerStart() const override;
31 void onQueueTimerStop(sk_gpu_test::PlatformTimerQuery) const override;
97 sk_gpu_test::PlatformTimerQuery GLGpuTimer::onQueueTimerStart() const { in onQueueTimerStart()
109 return static_cast<sk_gpu_test::PlatformTimerQuery>(queryID); in onQueueTimerStart()
112 void GLGpuTimer::onQueueTimerStop(sk_gpu_test::PlatformTimerQuery platformTimer) const { in onQueueTimerStop()
120 GLGpuTimer::checkQueryStatus(sk_gpu_test::PlatformTimerQuery platformTimer) { in checkQueryStatus()
140 std::chrono::nanoseconds GLGpuTimer::getTimeElapsed(sk_gpu_test::PlatformTimerQuery platformTimer) { in getTimeElapsed()
[all …]
/third_party/skia/tools/skpbench/
Dskpbench.cpp380 using sk_gpu_test::PlatformTimerQuery; in run_gpu_time_benchmark()
393 PlatformTimerQuery previousTime = 0; in run_gpu_time_benchmark()
411 PlatformTimerQuery time = gpuTimer->queueStop(); in run_gpu_time_benchmark()