Home
last modified time | relevance | path

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

/aosp_15_r20/external/skia/tools/gpu/
H A DGpuTimer.h17 using PlatformTimerQuery = uint64_t; variable
18 static constexpr PlatformTimerQuery kInvalidTimerQuery = 0;
50 [[nodiscard]] PlatformTimerQuery 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;
/aosp_15_r20/external/skia/tools/gpu/gl/
H A DGLTestContext.cpp21 QueryStatus checkQueryStatus(sk_gpu_test::PlatformTimerQuery) override;
22 std::chrono::nanoseconds getTimeElapsed(sk_gpu_test::PlatformTimerQuery) override;
23 void deleteQuery(sk_gpu_test::PlatformTimerQuery) override;
29 sk_gpu_test::PlatformTimerQuery onQueueTimerStart() const override;
30 void onQueueTimerStop(sk_gpu_test::PlatformTimerQuery) const override;
90 sk_gpu_test::PlatformTimerQuery GLGpuTimer::onQueueTimerStart() const { in onQueueTimerStart()
102 return static_cast<sk_gpu_test::PlatformTimerQuery>(queryID); in onQueueTimerStart()
105 void GLGpuTimer::onQueueTimerStop(sk_gpu_test::PlatformTimerQuery platformTimer) const { in onQueueTimerStop()
113 GLGpuTimer::checkQueryStatus(sk_gpu_test::PlatformTimerQuery platformTimer) { in checkQueryStatus()
133 std::chrono::nanoseconds GLGpuTimer::getTimeElapsed(sk_gpu_test::PlatformTimerQuery platformTimer) { in getTimeElapsed()
[all …]
/aosp_15_r20/external/skia/tools/skpbench/
H A Dskpbench.cpp390 using sk_gpu_test::PlatformTimerQuery; in run_gpu_time_benchmark()
403 PlatformTimerQuery previousTime = 0; in run_gpu_time_benchmark()
421 PlatformTimerQuery time = gpuTimer->queueStop(); in run_gpu_time_benchmark()