Searched refs:diff (Results 1 – 4 of 4) sorted by relevance
147 nsecs_t diff = currtime_us - oldtime_us; in calc_fps() local152 diff > debug_fps_metadata.ignorethresh_us) { in calc_fps()157 debug_fps_metadata.framearrivals[debug_fps_metadata.curr_frame] = diff; in calc_fps()163 unsigned int currstep = (diff + debug_fps_metadata.margin_us) / 16666; in calc_fps()180 debug_fps_metadata.time_elapsed += ((float)diff/1000.0); in calc_fps()
437 nsecs_t diff = now - mLastFpsTime; in debugShowFPS() local438 mFps = ((mFrameCount - mLastFrameCount) * float(s2ns(1))) / diff; in debugShowFPS()455 nsecs_t diff = now - mLastFPSTime; in recalculateFPS() local456 currentFPS = ((mFrameCount - mLastFrameCount) * float(s2ns(1))) / diff; in recalculateFPS()
2888 nsecs_t diff = now - mLastFpsTime; in debugShowFPS() local2889 mFps = ((mFrameCount - mLastFrameCount) * float(s2ns(1))) / diff; in debugShowFPS()3194 nsecs_t diff = now - mLastFPSTime; in recalculateFPS() local3195 currentFPS = ((mFrameCount - mLastFrameCount) * float(s2ns(1))) / diff; in recalculateFPS()
555 nsecs_t diff = now - mLastFpsTime; in debugShowFPS() local556 mFps = ((mFrameCount - mLastFrameCount) * float(s2ns(1))) / diff; in debugShowFPS()