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

Unified Diff: tracing/tracing/metrics/system_health/efficiency_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
« no previous file with comments | « tracing/bin/validate_all_metrics ('k') | tracing/tracing/metrics/system_health/efficiency_metric_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/metrics/system_health/efficiency_metric.html
diff --git a/tracing/tracing/metrics/system_health/efficiency_metric.html b/tracing/tracing/metrics/system_health/efficiency_metric.html
index 4c0e6f45f3ae7e1bd3abea98d111420c5234b08d..f8920f0b715e0b336e505480b1b7cd4fdb6629c0 100644
--- a/tracing/tracing/metrics/system_health/efficiency_metric.html
+++ b/tracing/tracing/metrics/system_health/efficiency_metric.html
@@ -21,7 +21,7 @@ tr.exportTo('tr.metrics.sh', function() {
var DESCRIPTION = 'Normalized CPU budget consumption';
- function EfficiencyMetric(values, model) {
+ function efficiencyMetric(values, model) {
var scores = [];
model.userModel.expectations.forEach(function(ue) {
@@ -79,10 +79,10 @@ tr.exportTo('tr.metrics.sh', function() {
options, groupingKeys));
}
- tr.metrics.MetricRegistry.register(EfficiencyMetric);
+ tr.metrics.MetricRegistry.register(efficiencyMetric);
return {
- EfficiencyMetric: EfficiencyMetric
+ efficiencyMetric: efficiencyMetric
};
});
</script>
« no previous file with comments | « tracing/bin/validate_all_metrics ('k') | tracing/tracing/metrics/system_health/efficiency_metric_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698