Merge "ProcessStats: fix uss average value offset"

This commit is contained in:
Mathieu Chartier
2017-07-06 03:13:52 +00:00
committed by Gerrit Code Review

View File

@@ -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);