add swapPss of native process to totalSwapPss
Currently swapPss of native process is not counted into totalSwapPss. This change fixes this. Change-Id: Ia2d9261f91e969ceef0519ffec8c8ab5dbcb2a5e Signed-off-by: Ganesh Mahendran <opensource.ganesh@gmail.com>
This commit is contained in:
@@ -17394,6 +17394,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 + ")",
|
||||
|
||||
Reference in New Issue
Block a user