AggregatePostProcessor

public class AggregatePostProcessor
extends BasePostProcessor

java.lang.Object
   ↳ com.android.tradefed.postprocessor.BasePostProcessor
     ↳ com.android.tradefed.postprocessor.AggregatePostProcessor


A metric aggregator that gives the min, max, mean, variance and standard deviation for numeric metrics collected during multiple-iteration test runs, treating them as doubles. Non-numeric metrics are ignored.

It parses metrics from single string as currently metrics are passed this way.

Summary

Public constructors

AggregatePostProcessor()

Public methods

processRunMetrics( rawMetrics)

Implement this method in order to generate a set of new metrics from the existing one.

processTestMetrics(TestDescription testDescription, testMetrics)

{@inhericDoc }

Public constructors

AggregatePostProcessor

public AggregatePostProcessor ()

Public methods

processRunMetrics

public  processRunMetrics ( rawMetrics)

Implement this method in order to generate a set of new metrics from the existing one. Only the newly generated metrics should be returned, and with unique key name (no collision with existing keys are allowed).

Parameters
rawMetrics : The set of raw metrics available for the run.

Returns
The set of newly generated metrics from the run metrics.

processTestMetrics

public  processTestMetrics (TestDescription testDescription, 
                 testMetrics)

{@inhericDoc }

Parameters
testDescription TestDescription: The TestDescription object describing the test.

testMetrics : The set of metrics from the test.

Returns
The set of newly generated metrics from the test metrics.