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

Unified Diff: tracing/tracing/metrics/tracing_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
Index: tracing/tracing/metrics/tracing_metric.html
diff --git a/tracing/tracing/metrics/tracing_metric.html b/tracing/tracing/metrics/tracing_metric.html
index fdc054f026580b2c9086cb09006724eb251d40ab..8cef5a45f7042a0cbdb157f78220a28d97380095 100644
--- a/tracing/tracing/metrics/tracing_metric.html
+++ b/tracing/tracing/metrics/tracing_metric.html
@@ -192,7 +192,9 @@ tr.exportTo('tr.metrics', function() {
addMemoryInfraHistograms(histograms, model, categoryNamesToTotalEventSizes);
}
- tr.metrics.MetricRegistry.register(tracingMetric);
+ tr.metrics.MetricRegistry.register(tracingMetric, {
+ histogramNames: new Set([]),
+ });
return {
tracingMetric,
« no previous file with comments | « tracing/tracing/metrics/system_health/webview_startup_metric.html ('k') | tracing/tracing/metrics/v8/execution_metric.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698