Searched refs:previousTime (Results 1 – 4 of 4) sorted by relevance
246 PlatformTimerQuery previousTime = 0; in run_gpu_time_benchmark() local250 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()
101 static double previousTime = 0.0; in onPrePaint() local103 io.DeltaTime = static_cast<float>(currentTime - previousTime); in onPrePaint()104 previousTime = currentTime; in onPrePaint()
196 static int64_t diffInNano(struct timespec previousTime, struct timespec currentTime) { in diffInNano() argument197 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()