Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5fbd15c9 authored by John Reck's avatar John Reck Committed by android-build-merger
Browse files

Merge "Merge "Fix reset() to zero slowFrameCounts" into nyc-dev am: 7239d957" into nyc-dev-plus-aosp

am: 9b857d34

* commit '9b857d34':
  Fix reset() to zero slowFrameCounts

Change-Id: I2100797709d1f50af2b9a146fabd35016796d938
parents 5ae916e1 9b857d34
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -285,6 +285,7 @@ void JankTracker::dumpData(const ProfileData* data, int fd) {
void JankTracker::reset() {
    mData->jankTypeCounts.fill(0);
    mData->frameCounts.fill(0);
    mData->slowFrameCounts.fill(0);
    mData->totalFrameCount = 0;
    mData->jankFrameCount = 0;
    mData->statStartTime = systemTime(CLOCK_MONOTONIC);