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

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

Issue 2011403002: Rename all tbm2 metrics to start with lowercase & add PRESUBMIT (Closed) Base URL: https://github.com/catapult-project/catapult@master
Patch Set: Update SystemHealthMetric in other files Created 4 years, 7 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 3b94f355e364f0c48299c89d9ca64e0a4cc2cfe4..730ab18f5d3a9e7c3eec804911b82ede21c45f53 100644
--- a/tracing/tracing/metrics/system_health/power_metric.html
+++ b/tracing/tracing/metrics/system_health/power_metric.html
@@ -39,16 +39,16 @@ tr.exportTo('tr.metrics.sh', function() {
{}));
}
- function PowerMetric(valueList, model) {
+ function powerMetric(valueList, model) {
if (!model.device.powerSeries)
return;
energyPerFrame(valueList, model);
}
- tr.metrics.MetricRegistry.register(PowerMetric);
+ tr.metrics.MetricRegistry.register(powerMetric);
return {
- PowerMetric: PowerMetric
+ powerMetric: powerMetric
};
});
</script>

Powered by Google App Engine
This is Rietveld 408576698