Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Unified Diff: tracing/tracing/metrics/system_health/power_metric.html

Issue 2162963002: [polymer] Merge of master into polymer10-migration (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: Merge polymer10-migration int polymer10-merge Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 13ae65e1401e4506bd4363c972f069502af2eb0f..9c1ad2d6bed35ceaf313b22d8f45e44e9921183e 100644
--- a/tracing/tracing/metrics/system_health/power_metric.html
+++ b/tracing/tracing/metrics/system_health/power_metric.html
@@ -7,6 +7,7 @@ found in the LICENSE file.
<link rel="import" href="/tracing/base/statistics.html">
<link rel="import" href="/tracing/metrics/metric_registry.html">
+<link rel="import" href="/tracing/metrics/system_health/clock_sync_latency_metric.html">
<link rel="import" href="/tracing/value/numeric.html">
<link rel="import" href="/tracing/value/value.html">
@@ -37,6 +38,10 @@ tr.exportTo('tr.metrics.sh', function() {
}
function powerMetric(valueList, model) {
+ // TODO(alexandermont): Once it's possible to specify multiple metrics
+ // in a Telemetry benchmark, separate out this metric from the power
+ // metric and have the benchmark use both.
+ // (See: https://github.com/catapult-project/catapult/issues/2430.)
if (!model.device.powerSeries)
return;
energyConsumedPerFrame(valueList, model);

Powered by Google App Engine
This is Rietveld 408576698