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/range.html"> | 8 <link rel="import" href="/tracing/base/range.html"> |
9 <link rel="import" href="/tracing/base/unit.html"> | 9 <link rel="import" href="/tracing/base/unit.html"> |
10 <link rel="import" href="/tracing/metrics/metric_registry.html"> | 10 <link rel="import" href="/tracing/metrics/metric_registry.html"> |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 function executionMetric(values, model) { | 210 function executionMetric(values, model) { |
211 computeExecuteMetrics(values, model); | 211 computeExecuteMetrics(values, model); |
212 computeParseLazyMetrics(values, model); | 212 computeParseLazyMetrics(values, model); |
213 computeCompileIgnitionMetrics(values, model); | 213 computeCompileIgnitionMetrics(values, model); |
214 computeCompileFullCodeMetrics(values, model); | 214 computeCompileFullCodeMetrics(values, model); |
215 computeRecompileMetrics(values, model); | 215 computeRecompileMetrics(values, model); |
216 computeOptimizeCodeMetrics(values, model); | 216 computeOptimizeCodeMetrics(values, model); |
217 computeDeoptimizeCodeMetrics(values, model); | 217 computeDeoptimizeCodeMetrics(values, model); |
218 } | 218 } |
219 | 219 |
220 tr.metrics.MetricRegistry.register(executionMetric); | 220 tr.metrics.MetricRegistry.register(executionMetric, { |
| 221 histogramNames: new Set([]), |
| 222 }); |
221 | 223 |
222 return { | 224 return { |
223 executionMetric, | 225 executionMetric, |
224 }; | 226 }; |
225 }); | 227 }); |
226 </script> | 228 </script> |
OLD | NEW |