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

Commit b355b7f4 authored by Mathieu Chartier's avatar Mathieu Chartier Committed by Gerrit Code Review
Browse files

Merge "ProcessStats: fix uss average value offset"

parents fa42eea9 7999f4bc
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);