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.java766 final long jitterNanos = startNanos - frameTimeNanos; in doFrame() local
767 if (jitterNanos >= frameIntervalNanos) { in doFrame()
772 lastFrameOffset = jitterNanos % frameIntervalNanos; in doFrame()
773 final long skippedFrames = jitterNanos / frameIntervalNanos; in doFrame()
780 Log.d(TAG, "Missed vsync by " + (jitterNanos * 0.000001f) + " ms " in doFrame()
872 final long jitterNanos = now - frameTimeNanos; in doCallbacks() local
873 Trace.traceCounter(Trace.TRACE_TAG_VIEW, "jitterNanos", (int) jitterNanos); in doCallbacks()
874 if (jitterNanos >= 2 * frameIntervalNanos) { in doCallbacks()
875 final long lastFrameOffset = jitterNanos % frameIntervalNanos in doCallbacks()
878 Log.d(TAG, "Commit callback delayed by " + (jitterNanos * 0.000001f) in doCallbacks()
/frameworks/base/libs/hwui/
DJankTracker.cpp164 nsecs_t jitterNanos = frame[FrameInfoIndex::FrameCompleted] - frame[FrameInfoIndex::Vsync]; in calculateLegacyJank() local
165 nsecs_t lastFrameOffset = jitterNanos % mFrameIntervalLegacy; in calculateLegacyJank()
225 nsecs_t jitterNanos = frame[FrameInfoIndex::GpuCompleted] in finishFrame() local
227 nsecs_t lastFrameOffset = jitterNanos % frameInterval; in finishFrame()