AggregatePostProcessor
public class AggregatePostProcessor
extends BasePostProcessor
java.lang.Object | ||
↳ | com.android.tradefed.postprocessor.BasePostProcessor | |
↳ | com.android.tradefed.postprocessor.AggregatePostProcessor |
度量聚合器,它为多次迭代测试运行期间收集的数字度量提供最小值,最大值,均值,方差和标准偏差,并将其视为两倍。非数字指标将被忽略。
当当前指标通过这种方式传递时,它将从单个字符串中解析指标。
概要
公共建设者 | |
---|---|
AggregatePostProcessor () |
公开方法 | |
---|---|
processRunMetricsAndLogs ( rawMetrics, runLogs) processRunMetricsAndLogs ( rawMetrics, runLogs) processRunMetricsAndLogs ( rawMetrics, runLogs) 实施此方法以便从现有指标和日志中生成一组新指标。 | |
processTestMetricsAndLogs (TestDescription testDescription, testMetrics, testLogs) processTestMetricsAndLogs (TestDescription testDescription, testMetrics, testLogs) processTestMetricsAndLogs (TestDescription testDescription, testMetrics, testLogs) 实施此方法以发布过程指标和每个测试的日志。 |
公共建设者
AggregatePostProcessor
public AggregatePostProcessor ()
公开方法
processRunMetricsAndLogs
publicprocessRunMetricsAndLogs ( rawMetrics, runLogs)
实施此方法以便从现有指标和日志中生成一组新指标。仅应返回新生成的指标,并使用唯一的键名称(不允许与现有键冲突)。
参量 | |
---|---|
rawMetrics | |
runLogs |
退货 | |
---|---|
从运行指标中新生成的指标集。 |
processTestMetricsAndLogs
publicprocessTestMetricsAndLogs (TestDescription testDescription, testMetrics, testLogs)
实施此方法以发布过程指标和每个测试的日志。仅应返回新生成的指标,并使用唯一的键名称(不允许与现有键冲突)。
参量 | |
---|---|
testDescription | TestDescription :描述测试的TestDescription对象。 |
testMetrics | |
testLogs |
退货 | |
---|---|
测试指标中新生成的指标集。 |