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

Side by Side Diff: tracing/tracing/metrics/tracing_metric.html

Issue 2995843002: Merge iteration_helpers into utils.html. (Closed)
Patch Set: Created 3 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright 2016 The Chromium Authors. All rights reserved. 3 Copyright 2016 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 --> 6 -->
7 7
8 <link rel="import" href="/tracing/base/iteration_helpers.html"> 8 <link rel="import" href="/tracing/base/utils.html">
9 <link rel="import" href="/tracing/metrics/metric_registry.html"> 9 <link rel="import" href="/tracing/metrics/metric_registry.html">
10 <link rel="import" href="/tracing/value/diagnostics/diagnostic_map.html"> 10 <link rel="import" href="/tracing/value/diagnostics/diagnostic_map.html">
11 <link rel="import" href="/tracing/value/histogram.html"> 11 <link rel="import" href="/tracing/value/histogram.html">
12 12
13 <script> 13 <script>
14 'use strict'; 14 'use strict';
15 15
16 tr.exportTo('tr.metrics', function() { 16 tr.exportTo('tr.metrics', function() {
17 const MEMORY_INFRA_TRACING_CATEGORY = 'disabled-by-default-memory-infra'; 17 const MEMORY_INFRA_TRACING_CATEGORY = 'disabled-by-default-memory-infra';
18 18
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 230
231 tr.metrics.MetricRegistry.register(tracingMetric); 231 tr.metrics.MetricRegistry.register(tracingMetric);
232 232
233 return { 233 return {
234 tracingMetric, 234 tracingMetric,
235 // For testing only: 235 // For testing only:
236 MEMORY_INFRA_TRACING_CATEGORY, 236 MEMORY_INFRA_TRACING_CATEGORY,
237 }; 237 };
238 }); 238 });
239 </script> 239 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/metrics/system_health/memory_metric_test.html ('k') | tracing/tracing/model/clock_sync_manager.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698