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

Commit f34f9736 authored by Makoto Onuki's avatar Makoto Onuki Committed by Android (Google) Code Review
Browse files

Merge "Fix PSS/USS Average in procstats"

parents 3f7bf2e9 34a6e844
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -96,7 +96,7 @@ public class PssTable extends SparseMappingTable.Table {
            }

            val = getValue(key, PSS_USS_AVERAGE);
            setValue(key, PSS_AVERAGE,
            setValue(key, PSS_USS_AVERAGE,
                    (long)(((val*(double)count)+(avgUss*(double)inCount)) / (count+inCount)));

            val = getValue(key, PSS_USS_MAXIMUM);