Home | History | Annotate | Download | only in metric

Lines Matching refs:pss

38  * Collects PSS and USS (private dirty) memory usage values from dumpsys meminfo. The result will be
39 * reported as a test run metric with key in the form of PSS#ProcName[#DeviceNum], in KB.
50 /** Peak PSS per process */
88 Long pss =
90 .get(DumpsysProcessMeminfoItem.PSS);
94 if (pss == null || uss == null) {
99 // Track PSS values
106 mPssMemoryPerProcess.get(device).get(proc).addNumericValue(pss);
117 if (procPss.getOrDefault(proc, 0L) < pss) {
118 procPss.put(proc, pss);
132 // Report all the PSS data for each process
141 runData.addMetricForDevice(device, "PSS#" + values.getKey(), metric);
156 // Continue reporting the max PSS / USS for compatibility
159 for (Entry<String, Long> pss : procPss.entrySet()) {
162 Measurements.newBuilder().setSingleInt(pss.getValue()).build());
164 runData.addMetricForDevice(device, "MAX_PSS#" + pss.getKey(), metric);