Understanding of Performance parameter for a APP

Hi Team,

While using get_performance_data method from ruby-appium, I am getting different parameters value like memoryinfo, cpuinfo, networkinfo and batteryinfo. But I am not able to understand the kind of values I am getting. Here is the data I got after execution:

Memory Details: [[“totalPrivateDirty”, “nativePrivateDirty”, “dalvikPrivateDirty”, “eglPrivateDirty”, “glPrivateDirty”, “totalPss”, “nativePss”, “dalvikPss”, “eglPss”, “glPss”, “nativeHeapAllocatedSize”, “nativeHeapSize”], [“16680”, “9576”, “1668”, nil, “916”, “41920”, “9605”, “1698”, nil, “916”, “14369”, “20480”]]

CPU INFO: [[“user”, “kernel”], [“2.6”, “0.2”]]

Network INFO: [[“st”, “activeTime”, “rb”, “rp”, “tb”, “tp”, “op”, “bucketDuration”], [“1553511600”, nil, “1611681”, “2182”, “227881”, “2954”, “0”, “3600”], [“1553515200”, nil, “379132665”, “303479”, “8210000”, “140713”, “0”, “3600”], [“1553518800”, nil, “33485”, “327”, “126356”, “185”, “0”, “3600”], [“1553522400”, nil, “11462”, “100”, “19409”, “109”, “0”, “3600”], [“1553526000”, nil, “1331541”, “1227”, “158317”, “886”, “0”, “3600”], [“1553529600”, nil, “69192”, “72”, “9460”, “65”, “0”, “3600”], [“1553533200”, nil, “78129”, “167”, “65659”, “187”, “0”, “3600”], [“1553536800”, nil, “23750”, “55”, “19692”, “73”, “0”, “3600”], [“1553540400”, nil, “4319”, “28”, “6168”, “54”, “0”, “3600”], [“1553544000”, nil, “5017”, “18”, “4177”, “38”, “0”, “3600”], [“1553547600”, nil, “175179”, “266”, “94446”, “290”, “0”, “3600”], [“1553551200”, nil, “385”, “5”, “2109”, “21”, “0”, “3600”], [“1553554800”, nil, “1852”, “22”, “5016”, “35”, “0”, “3600”], [“1553558400”, nil, “560”, “5”, “1274”, “14”, “0”, “3600”], [“1553562000”, nil, “5460”, “23”, “6255”, “52”, “0”, “3600”], [“1553565600”, nil, “1294”, “16”, “4033”, “30”, “0”, “3600”], [“1553569200”, nil, “27600”, “117”, “16085”, “183”, “0”, “3600”], [“1553572800”, nil, “1032977”, “2080”, “205876”, “2887”, “0”, “3600”], [“1553576400”, nil, “1297825107”, “1023298”, “36425066”, “580121”, “0”, “3600”], [“1553580000”, nil, “883535”, “1184”, “146377”, “819”, “0”, “3600”], [“1553583600”, nil, “328986856”, “259264”, “7104670”, “129241”, “0”, “3600”], [“1553587200”, nil, “55437”, “302”, “45189”, “147”, “0”, “3600”], [“1553590800”, nil, “2016965308”, “1589207”, “47694326”, “856375”, “0”, “3600”], [“1553594400”, nil, “117651550”, “92040”, “2713488”, “47393”, “0”, “3600”], [“1553598000”, nil, “323354789”, “255249”, “5494957”, “98482”, “0”, “3600”], [“1553601600”, nil, “969414359”, “761084”, “19645708”, “357104”, “0”, “3600”], [“1553605200”, nil, “65950”, “226”, “92302”, “222”, “0”, “3600”], [“1553608800”, nil, “18219”, “123”, “53964”, “136”, “0”, “3600”], [“1553612400”, nil, “20062”, “78”, “23204”, “89”, “0”, “3600”], [“1553616000”, nil, “15675”, “57”, “25175”, “94”, “0”, “3600”], [“1553619600”, nil, “25247”, “92”, “35725”, “137”, “0”, “3600”], [“1553623200”, nil, “343”, “4”, “1823”, “15”, “0”, “3600”], [“1553626800”, nil, “5496”, “27”, “4998”, “43”, “0”, “3600”], [“1553630400”, nil, “10385”, “38”, “4733”, “57”, “0”, “3600”], [“1553634000”, nil, “25216”, “114”, “14094”, “168”, “0”, “3600”], [“1553637600”, nil, “54368”, “317”, “37683”, “460”, “0”, “3600”], [“1553641200”, nil, “42415”, “191”, “24123”, “260”, “0”, “3600”], [“1553644800”, nil, “39155”, “210”, “25460”, “278”, “0”, “3600”], [“1553648400”, nil, “38443”, “193”, “23195”, “254”, “0”, “3600”], [“1553652000”, nil, “87859”, “353”, “36687”, “453”, “0”, “3600”], [“1553655600”, nil, “48720”, “277”, “28234”, “349”, “0”, “3600”], [“1553659200”, nil, “30446”, “173”, “20865”, “227”, “0”, “3600”], [“1553662800”, nil, “321235”, “1285”, “121311”, “1475”, “0”, “3600”], [“1553666400”, nil, “95907843”, “77260”, “5602115”, “70900”, “0”, “3600”], [“1553670000”, nil, “189189674”, “147380”, “9343818”, “133501”, “0”, “3600”]]

Battery INFO: [[“power”], [“100”]]

So for Example for Memory Utilization details there are different type of memories, so I am not able to understand what kind of memories these are and what is exact utilisation of RAM and same for other parameters as well.

This API internally calls dumpsys with different args, like cpuinfo, meminfo, etc. See https://developer.android.com/studio/command-line/dumpsys for more details