Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/renderthread/
DTimeLord.cpp56 nsecs_t jitterNanos = now - mFrameTimeNanos; in computeFrameTimeNanos() local
57 if (jitterNanos >= mFrameIntervalNanos) { in computeFrameTimeNanos()
58 nsecs_t lastFrameOffset = jitterNanos % mFrameIntervalNanos; in computeFrameTimeNanos()
/frameworks/base/core/java/android/view/
DChoreographer.java724 final long jitterNanos = startNanos - frameTimeNanos; in doFrame() local
725 if (jitterNanos >= frameIntervalNanos) { in doFrame()
726 final long skippedFrames = jitterNanos / frameIntervalNanos; in doFrame()
731 final long lastFrameOffset = jitterNanos % frameIntervalNanos; in doFrame()
733 Log.d(TAG, "Missed vsync by " + (jitterNanos * 0.000001f) + " ms " in doFrame()
819 final long jitterNanos = now - frameTimeNanos; in doCallbacks() local
820 Trace.traceCounter(Trace.TRACE_TAG_VIEW, "jitterNanos", (int) jitterNanos); in doCallbacks()
821 if (jitterNanos >= 2 * frameIntervalNanos) { in doCallbacks()
822 final long lastFrameOffset = jitterNanos % frameIntervalNanos in doCallbacks()
825 Log.d(TAG, "Commit callback delayed by " + (jitterNanos * 0.000001f) in doCallbacks()
/frameworks/base/libs/hwui/
DJankTracker.cpp161 nsecs_t jitterNanos = frame[FrameInfoIndex::FrameCompleted] - frame[FrameInfoIndex::Vsync]; in calculateLegacyJank() local
162 nsecs_t lastFrameOffset = jitterNanos % mFrameIntervalLegacy; in calculateLegacyJank()
217 nsecs_t jitterNanos = frame[FrameInfoIndex::GpuCompleted] in finishFrame() local
219 nsecs_t lastFrameOffset = jitterNanos % frameInterval; in finishFrame()