| Index: tracing/tracing/metrics/system_health/power_metric.html
|
| diff --git a/tracing/tracing/metrics/system_health/power_metric.html b/tracing/tracing/metrics/system_health/power_metric.html
|
| index 844f5ac3728c486c32a844e9a29314b7dd464201..f4527e9ee0ddd425e41646d5728ebbb230fdfb51 100644
|
| --- a/tracing/tracing/metrics/system_health/power_metric.html
|
| +++ b/tracing/tracing/metrics/system_health/power_metric.html
|
| @@ -32,7 +32,7 @@ tr.exportTo('tr.metrics.sh', function() {
|
| var currentFrameEnergy = model.device.powerSeries.getEnergyConsumedInJ(
|
| frameStartTs, frameStartTs + IDEAL_FRAME_DURATION_MS);
|
| frameStartTs += IDEAL_FRAME_DURATION_MS;
|
| - frameEnergyConsumedInJ.add(currentFrameEnergy);
|
| + frameEnergyConsumedInJ.addSample(currentFrameEnergy);
|
| }
|
|
|
| valueList.addValue(new tr.v.NumericValue(
|
|
|