Merge "add swapPss of native process to totalSwapPss"

This commit is contained in:
Martijn Coenen
2018-02-14 09:17:32 +00:00
committed by Gerrit Code Review

View File

@@ -17481,6 +17481,7 @@ public class ActivityManagerService extends IActivityManager.Stub
final long myTotalPss = mi.getTotalPss();
final long myTotalSwapPss = mi.getTotalSwappedOutPss();
totalPss += myTotalPss;
totalSwapPss += myTotalSwapPss;
nativeProcTotalPss += myTotalPss;
MemItem pssItem = new MemItem(st.name + " (pid " + st.pid + ")",