指标 | 统计规则 | 描述 |
TotalPss | dalvikPss+nativePss+otherPss
+ TotalSwappedOutPss | 三种Pss+换页出去的内存Pss |
TotalSwappedOutPss | dalvikSwappedOutPss
+ nativeSwappedOutPss + otherSwappedOutPss | 三种类型的内存换页出去的PSS |
TotalUss | dalvikPrivateClean
+dalvikPrivateDirty + nativePrivateClean + nativePrivateDirty+ otherPrivateClean + otherPrivateDirty | 三种类型的Clean和Dirty总值 |
TotalRss | dalvikRss
+nativeRss + otherRss | 三种RSS相加 |
TotalPrivateDirty | dalvikPrivateDirty
+ nativePriateDirty + otherPrivateDirty | 三种类型的Dirty内存 |
TotalPrivateClean | dalvikPrivateClean
+ nativePrivateClean + otherPrivateClean |
TotalSharedClean | dalvikSharedClean
+ nativeSharedClean + otherSharedClean |
TotalSwappedOut | dalvikSwappedOut
+ nativeSwappedOut + otherSwappedOut |
JavaHeap | dalvikPrivateDirty
+OtherPrivate(OTHER_ART) | Jave的私有Dirty以及OTHER_ART相关的私有内存。 |
NativeHeap | nativePrivateDirty |
Code | OtherPrivate(OTHER_SO)
+ OtherPrivate(OTHER_JAR)+ OtherPrivate(OTHER_APK)+ OtherPrivate(OTHER_TTF)+ OtherPrivate(OTHER_DEX)+ OtherPrivate(OTHER_OAT)+OtherPrivate(OTHER_DALVIK_OTHER_ZYGOTE_CODE_CACHE)+OtherPrivate(OTHER_DALVIK_OTHER_APP_CODE_CACHE) | 各种代码类型的内存汇总 |
Stack | OtherPrivateDirty(OTHER_STACK) | 包括Java和Native的。不包括 private clean stack 因为没有这种类型 |
Graphics | OtherPrivate(OTHER_GL_DEV)+ OtherPrivate(OTHER_GRAPHICS)+ OtherPrivate(OTHER_GL) | 渲染相关的 包括 Gfx, EGL, 和 GL
不包括shared graphics。因为他们大多是针对App的buffers,可以统一归类在System分类中。 |
PrivateOther | TotalPrivateClean
+ TotalPrivateDirty- JavaHeap- NativeHeap- Code- Stack- Graphics | 所有的Clean和Dirty之和 减掉 Java、Native、Code、Stack、Graphics |
System | TotalPss()
- TotalPrivateClean()- TotalPrivateDirty() | 包含所有的shared 内存 |