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

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

Issue 1730313007: Metric-ify SystemHealth metrics (Closed) Base URL: https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git@master
Patch Set: rebase Created 4 years, 9 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/system_health_metrics.html
diff --git a/tracing/tracing/metrics/system_health/system_health_metrics.html b/tracing/tracing/metrics/system_health/system_health_metrics.html
new file mode 100644
index 0000000000000000000000000000000000000000..ca20fe82d3e49f819792843157a146f327008630
--- /dev/null
+++ b/tracing/tracing/metrics/system_health/system_health_metrics.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2016 The Chromium Authors. All rights reserved.
+Use of this source code is governed by a BSD-style license that can be
+found in the LICENSE file.
+-->
+
+<link rel="import" href="/tracing/metrics/system_health/efficiency_metric.html">
+<link rel="import"
+ href="/tracing/metrics/system_health/responsiveness_metric.html">
+
+<script>
+'use strict';
+
+tr.exportTo('tr.metrics.sh', function() {
+ function SystemHealthMetrics(valueList, model) {
+ tr.metrics.sh.ResponsivenessMetric(valueList, model);
+ tr.metrics.sh.EfficiencyMetric(valueList, model);
+ }
+
+ tr.metrics.MetricRegistry.register(SystemHealthMetrics);
+
+ return {
+ SystemHealthMetrics: SystemHealthMetrics
+ };
+});
+</script>

Powered by Google App Engine
This is Rietveld 408576698