ProcessMaxMemoryCollector

public class ProcessMaxMemoryCollector
extends ScheduledDeviceMetricCollector

java.lang.Object
   ↳ com.android.tradefed.device.metric.BaseDeviceMetricCollector
     ↳ com.android.tradefed.device.metric.ScheduledDeviceMetricCollector
       ↳ com.android.tradefed.device.metric.ProcessMaxMemoryCollector


A ScheduledDeviceMetricCollector to measure peak memory usage of specified processes. Collects PSS and USS (private dirty) memory usage values from dumpsys meminfo. The result will be reported as a test run metric with key in the form of PSS#ProcName[#DeviceNum], in KB.

Summary

Public constructors

ProcessMaxMemoryCollector()

Public constructors

ProcessMaxMemoryCollector

public ProcessMaxMemoryCollector ()