IAggregatingTestProfiler

public interface IAggregatingTestProfiler
implements ITestProfiler

com.android.tradefed.profiler.IAggregatingTestProfiler
Known Indirect Subclasses
AggregatingProfiler An ITestProfiler which handles aggregating metrics across multiple devices and test runs. 
StubTestProfiler A stubbed ITestProfiler which does nothing. 


An ITestProfiler which handles aggregating metrics across multiple devices and test runs. This interface should be used for any profiler which sends different metrics for getAggregateMetrics().

Summary

Public methods

abstract Map<String, Double> getAggregateMetrics()

Return metrics that have been aggregated over all tests and devices.

abstract String getDescription()

Return a description of this test profiler.

abstract MetricOutputData getMetricOutputUtil()

Return the MetricOutputData object used to hold formatted metrics.

abstract List<IMetricsRecorder> getRecorders()

Return a List of all IMetricsRecorders used by this profiler.

Public methods

getAggregateMetrics

Map<String, Double> getAggregateMetrics ()

Return metrics that have been aggregated over all tests and devices.

Returns
Map<String, Double> the metrics

getDescription

String getDescription ()

Return a description of this test profiler.

Returns
String the description

getMetricOutputUtil

MetricOutputData getMetricOutputUtil ()

Return the MetricOutputData object used to hold formatted metrics.

Returns
MetricOutputData the current MetricOutputData

getRecorders

List<IMetricsRecorder> getRecorders ()

Return a List of all IMetricsRecorders used by this profiler.

Returns
List<IMetricsRecorder> the recorders