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

Unified Diff: tracing/tracing/metrics/cpu_process_metric.html

Issue 2258583003: Modernize DiagnosticMap to subclass ES6 Map. (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: fix longTasksMetric and Composition Created 4 years, 4 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 | « no previous file | tracing/tracing/metrics/system_health/loading_metric.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/metrics/cpu_process_metric.html
diff --git a/tracing/tracing/metrics/cpu_process_metric.html b/tracing/tracing/metrics/cpu_process_metric.html
index 46ac0f75ed36c616c2e29b833331e6f57b323ff0..8adbdc96f211daa91aba9a0ec85c936abe4038c2 100644
--- a/tracing/tracing/metrics/cpu_process_metric.html
+++ b/tracing/tracing/metrics/cpu_process_metric.html
@@ -78,7 +78,7 @@ tr.exportTo('tr.metrics.sh', function() {
for (var i = 0; i < missingSnapshotCount; i++)
numeric.add(0);
var value = new tr.v.NumericValue('cpu:percent:' + processName, numeric);
- value.diagnostics.add('paths', new
+ value.diagnostics.set('paths', new
tr.v.d.Generic([...processData.paths]));
values.addValue(value);
}
« no previous file with comments | « no previous file | tracing/tracing/metrics/system_health/loading_metric.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698