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

Commit dca43272 authored by Yi Jin's avatar Yi Jin
Browse files

Remove number of Wake Kills, it is safe to change proto numbers since

nothing is being used now.

Bug: 65690183
Test: N/A
Change-Id: Iafc5698aeb2b742e9af6efc755e6d78101c5c7e7
parent 61ce9fcd
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1181,7 +1181,6 @@ public final class ProcessState {
        proto.write(ProcessStatsProto.UID, uid);
        if (mNumExcessiveCpu > 0 || mNumCachedKill > 0 ) {
            final long killToken = proto.start(ProcessStatsProto.KILL);
            proto.write(ProcessStatsProto.Kill.WAKES, mNumExcessiveWake);
            proto.write(ProcessStatsProto.Kill.CPU, mNumExcessiveCpu);
            proto.write(ProcessStatsProto.Kill.CACHED, mNumCachedKill);
            ProtoUtils.toAggStatsProto(proto, ProcessStatsProto.Kill.CACHED_PSS,
+3 −6
Original line number Diff line number Diff line
@@ -88,17 +88,14 @@ message ProcessStatsProto {

    // Information about how often kills occurred
    message Kill {
      // Count of excessive wakes kills
      int32 wakes = 1;

      // Count of excessive CPU kills
      int32 cpu = 2;
      int32 cpu = 1;

      // Count of kills when cached
      int32 cached = 3;
      int32 cached = 2;

      // PSS stats during cached kill
      android.util.AggStats cached_pss = 4;
      android.util.AggStats cached_pss = 3;
    }
    Kill kill = 3;