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

Unified Diff: tracing/tracing/ui/extras/deep_reports/main.html

Issue 1772833002: Remove SystemHealthMetric (fka RAILScore) (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: fix pi test 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
« no previous file with comments | « tracing/tracing/ui/extras/chrome_config.html ('k') | tracing/tracing/ui/timeline_view.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/extras/deep_reports/main.html
diff --git a/tracing/tracing/ui/extras/deep_reports/main.html b/tracing/tracing/ui/extras/deep_reports/main.html
index 8f10a9e757b1efa6fa8a0e0d59f5f183a52856d5..88af3f292d34c38d9a7ea175ea9206ddaba9dfd9 100644
--- a/tracing/tracing/ui/extras/deep_reports/main.html
+++ b/tracing/tracing/ui/extras/deep_reports/main.html
@@ -7,10 +7,8 @@ found in the LICENSE file.
<link rel="import" href="/tracing/base/base.html">
<link rel="import" href="/tracing/base/iteration_helpers.html">
-<link rel="import"
- href="/tracing/metrics/system_health/system_health_metric.html">
-<link rel="import" href="/tracing/ui/extras/deep_reports/scalar_value.html">
<link rel="import" href="/tracing/base/xhr.html">
+<link rel="import" href="/tracing/ui/extras/deep_reports/scalar_value.html">
<script>
'use strict';
@@ -55,16 +53,9 @@ tr.exportTo('tr.ui.e.deep_reports', function() {
}
function processModel(results, page, model) {
- var score = tr.metrics.sh.SystemHealthMetric.forModel(model);
- if (score === undefined)
- return;
-
results.addValue(
new tr.ui.e.deep_reports.ScalarValue(
page, 'numRailIRs', 'ms', model.userModel.expectations.length));
- results.addValue(
- new tr.ui.e.deep_reports.ScalarValue(
- page, 'railScore', 'rails', score));
}
return {
« no previous file with comments | « tracing/tracing/ui/extras/chrome_config.html ('k') | tracing/tracing/ui/timeline_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698