提交 7eafdf75 编写于 作者: K kevinkong

edit memory

上级 00988852
......@@ -73,6 +73,7 @@ public class MemoryInfo {
int[] myMempid = new int[] { pid };
Debug.MemoryInfo[] memoryInfo = am.getProcessMemoryInfo(myMempid);
memoryInfo[0].getTotalSharedDirty();
// int memSize = memoryInfo[0].dalvikPrivateDirty;
// TODO 不一定是PSS,可能是其他的
int memSize = memoryInfo[0].getTotalPss();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册