Searched refs:PlatformTimerQuery (Results 1 – 6 of 6) sorted by relevance
18 using PlatformTimerQuery = uint64_t; variable19 static constexpr PlatformTimerQuery kInvalidTimerQuery = 0;51 PlatformTimerQuery SK_WARN_UNUSED_RESULT queueStop() { in queueStop()64 virtual QueryStatus checkQueryStatus(PlatformTimerQuery) = 0;65 virtual std::chrono::nanoseconds getTimeElapsed(PlatformTimerQuery) = 0;66 virtual void deleteQuery(PlatformTimerQuery) = 0;69 virtual PlatformTimerQuery onQueueTimerStart() const = 0;70 virtual void onQueueTimerStop(PlatformTimerQuery) const = 0;73 PlatformTimerQuery fActiveTimer;
149 QueryStatus checkQueryStatus(sk_gpu_test::PlatformTimerQuery) override;150 std::chrono::nanoseconds getTimeElapsed(sk_gpu_test::PlatformTimerQuery) override;151 void deleteQuery(sk_gpu_test::PlatformTimerQuery) override;158 sk_gpu_test::PlatformTimerQuery onQueueTimerStart() const override;159 void onQueueTimerStop(sk_gpu_test::PlatformTimerQuery) const override;219 sk_gpu_test::PlatformTimerQuery GLGpuTimer::onQueueTimerStart() const { in onQueueTimerStart()231 return static_cast<sk_gpu_test::PlatformTimerQuery>(queryID); in onQueueTimerStart()234 void GLGpuTimer::onQueueTimerStop(sk_gpu_test::PlatformTimerQuery platformTimer) const { in onQueueTimerStop()242 GLGpuTimer::checkQueryStatus(sk_gpu_test::PlatformTimerQuery platformTimer) { in checkQueryStatus()262 std::chrono::nanoseconds GLGpuTimer::getTimeElapsed(sk_gpu_test::PlatformTimerQuery platformTimer) { in getTimeElapsed()[all …]
233 using sk_gpu_test::PlatformTimerQuery; in run_gpu_time_benchmark()246 PlatformTimerQuery previousTime = 0; in run_gpu_time_benchmark()265 PlatformTimerQuery time = gpuTimer->queueStop(); in run_gpu_time_benchmark()