DumpHeapCollector

public class DumpHeapCollector
extends ScheduledDeviceMetricCollector

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


A ScheduledDeviceMetricCollector to collect memory dumps of processes at regular intervals.

Summary

Fields

protected Map<String, Long> mDumpheapThresholds

Public constructors

DumpHeapCollector()

Public methods

void collect(ITestDevice device, DeviceMetricData runData)

Task periodically & asynchronously run during the test running on a specific device.

Fields

mDumpheapThresholds

protected Map<String, Long> mDumpheapThresholds

Public constructors

DumpHeapCollector

public DumpHeapCollector ()

Public methods

collect

public void collect (ITestDevice device, 
                DeviceMetricData runData)

Task periodically & asynchronously run during the test running on a specific device.

Parameters
device ITestDevice: the ITestDevice the metric is associated to.

runData DeviceMetricData: the DeviceMetricData where to put metrics.

Throws
InterruptedException