Home
last modified time | relevance | path

Searched refs:previousTime (Results 1 – 4 of 4) sorted by relevance

/external/skqp/tools/skpbench/
Dskpbench.cpp246 PlatformTimerQuery previousTime = 0; in run_gpu_time_benchmark() local
250 previousTime = gpuTimer->queueStop(); in run_gpu_time_benchmark()
268 switch (gpuTimer->checkQueryStatus(previousTime)) { in run_gpu_time_benchmark()
280 sample.fDuration += gpuTimer->getTimeElapsed(previousTime); in run_gpu_time_benchmark()
284 gpuTimer->deleteQuery(previousTime); in run_gpu_time_benchmark()
285 previousTime = time; in run_gpu_time_benchmark()
290 gpuTimer->deleteQuery(previousTime); in run_gpu_time_benchmark()
/external/skia/tools/skpbench/
Dskpbench.cpp392 PlatformTimerQuery previousTime = 0; in run_gpu_time_benchmark() local
396 previousTime = gpuTimer->queueStop(); in run_gpu_time_benchmark()
412 switch (gpuTimer->checkQueryStatus(previousTime)) { in run_gpu_time_benchmark()
426 sample.fDuration += gpuTimer->getTimeElapsed(previousTime); in run_gpu_time_benchmark()
430 gpuTimer->deleteQuery(previousTime); in run_gpu_time_benchmark()
431 previousTime = time; in run_gpu_time_benchmark()
436 gpuTimer->deleteQuery(previousTime); in run_gpu_time_benchmark()
/external/skia/tools/viewer/
DImGuiLayer.cpp134 static double previousTime = 0.0; in onPrePaint() local
136 io.DeltaTime = static_cast<float>(currentTime - previousTime); in onPrePaint()
137 previousTime = currentTime; in onPrePaint()
/external/drrickorang/LoopbackApp/app/src/main/cpp/
Dsles.cpp196 static int64_t diffInNano(struct timespec previousTime, struct timespec currentTime) { in diffInNano() argument
197 return (int64_t) (currentTime.tv_sec - previousTime.tv_sec) * (int64_t) NANOS_PER_SECOND + in diffInNano()
198 currentTime.tv_nsec - previousTime.tv_nsec; in diffInNano()