OLD | NEW |
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 Loading... |
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> |
OLD | NEW |