Merge "Separate buffer stuffing and jank" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
72e83e74a0
@@ -327,11 +327,8 @@ public class FrameTracker extends SurfaceControl.OnJankDataListener
|
||||
}
|
||||
if (info.surfaceControlCallbackFired) {
|
||||
totalFramesCount++;
|
||||
|
||||
// Only count missed frames if it's not stuffed.
|
||||
if ((info.jankType & PREDICTION_ERROR) != 0
|
||||
|| ((info.jankType & JANK_APP_DEADLINE_MISSED) != 0
|
||||
&& (info.jankType & BUFFER_STUFFING) == 0)) {
|
||||
|| ((info.jankType & JANK_APP_DEADLINE_MISSED) != 0)) {
|
||||
Log.w(TAG, "Missed App frame:" + info.jankType);
|
||||
missedAppFramesCount++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user