Known indirect subclasses
A metric aggregator that gives the min, max, mean, variance, standard deviation, total, count and
optionally percentiles for numeric metrics collected during multiple-iteration test runs,
treating them as doubles.
Implementation of post processor that calculate the average of the list of metrics.
IPostProcessor that every implementation should extend.
Implementation of postprocessor which calculates success rate for a bluetooth profile
Use "metric-key-match" to specify metrics which contain bluetooth connection states in numeric
array Example [0, 1, 2, 3, 0, 1, 2, 3].
Used for uploading the metrics log file collected during the test and run level.
A post processor that processes text/binary metric perfetto proto file into key-value pairs by
recursively expanding the proto messages and fields with string values until the field with
numeric value is encountered.
A post processor that processes gauge metrics collected in a "before/after" approach, i.e.
A post processor that processes event metrics in statsd reports into key-value pairs, using the
formatters specified on the processor.
A post processor that processes binary proto statsd reports into key-value pairs by expanding the
report as a tree structure.
Post processors is a Trade Federation object meant to allow the processing of metrics and logs
AFTER the tests and BEFORE result reporting. This allows to post-process some data and have all
result_reporter objects receive it, rather than doing the post-processing inside only one
result_reporter and having issue to pass the new data around.
public abstract processAllTestMetricsAndLogs (ListMultimap<String, MetricMeasurement.Metric> allTestMetrics,
Implement this method to aggregate metrics and logs across all tests. Metrics coming out of
this method will be reporter as run metrics. Only the newly generated metrics should be
returned, and with unique key name (no collision with existing keys are allowed).
ListMultimap: A HashMultimap storing the metrics from each test grouped by metric
: A map storing each test's map of log files keyed by their data names,
using the each test's
TestDescription as keys.
|The set of newly generated metrics from all test metrics.
public abstract processRunMetricsAndLogs ( rawMetrics,
Implement this method in order to generate a set of new metrics from the existing metrics and
logs. Only the newly generated metrics should be returned, and with unique key name (no
collision with existing keys are allowed).
: The set of raw metrics available for the run.
: The set of log files for the test run.
|The set of newly generated metrics from the run metrics.
public abstract processTestMetricsAndLogs (TestDescription testDescription,
Implement this method to post process metrics and logs from each test. Only the newly
generated metrics should be returned, and with unique key name (no collision with existing
keys are allowed).
TestDescription: The TestDescription object describing the test.
: The set of metrics from the test.
: The set of files logged during the test.
|The set of newly generated metrics from the test metrics.