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

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

Merge "Fix reset() to zero slowFrameCounts" into nyc-dev

am: 7239d957

* commit '7239d957':
  Fix reset() to zero slowFrameCounts

Change-Id: I8a15edd4b1e672998438d1befc986cfac2b02b4e
parents f35f061c 7239d957
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);