Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/jank/
DFrameTracker.java565 long maxFrameTimeNanos = 0; in finish() local
620 maxFrameTimeNanos = Math.max(info.totalDurationNanos, maxFrameTimeNanos); in finish()
637 (int) (maxFrameTimeNanos / NANOS_IN_MILLISECOND)); in finish()
643 && shouldTriggerPerfetto(missedFramesCount, (int) maxFrameTimeNanos)) { in finish()
654 maxFrameTimeNanos, /* will be 0 if mSurfaceOnly == true */ in finish()
669 private boolean shouldTriggerPerfetto(int missedFramesCount, int maxFrameTimeNanos) { in shouldTriggerPerfetto() argument
673 && maxFrameTimeNanos >= mTraceThresholdFrameTimeMillis * NANOS_IN_MILLISECOND; in shouldTriggerPerfetto()