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

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

Issue 2656493002: Register metric Histogram names. (Closed)
Patch Set: rebase Created 3 years, 10 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/metrics/blink/gc_metric.html ('k') | tracing/tracing/metrics/metric_map_function.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 cf8064cc606187e1efb3ba9a39378e9082048ec5..faa3df53d15465f79ae4480cadf4649f3b346c8c 100644
--- a/tracing/tracing/metrics/cpu_process_metric.html
+++ b/tracing/tracing/metrics/cpu_process_metric.html
@@ -78,7 +78,9 @@ tr.exportTo('tr.metrics.sh', function() {
}
}
- tr.metrics.MetricRegistry.register(cpuProcessMetric);
+ tr.metrics.MetricRegistry.register(cpuProcessMetric, {
+ histogramNames: new Set([]),
+ });
return {
cpuProcessMetric,
« no previous file with comments | « tracing/tracing/metrics/blink/gc_metric.html ('k') | tracing/tracing/metrics/metric_map_function.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698