OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <!-- | 2 <!-- |
3 Copyright (c) 2015 The Chromium Authors. All rights reserved. | 3 Copyright (c) 2015 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/statistics.html"> | 8 <link rel="import" href="/tracing/base/statistics.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/metrics/system_health/utils.html"> | 10 <link rel="import" href="/tracing/metrics/system_health/utils.html"> |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 }); | 137 }); |
138 }); | 138 }); |
139 | 139 |
140 values.addHistogram(responseNumeric); | 140 values.addHistogram(responseNumeric); |
141 values.addHistogram(throughputNumeric); | 141 values.addHistogram(throughputNumeric); |
142 values.addHistogram(frameTimeDiscrepancyNumeric); | 142 values.addHistogram(frameTimeDiscrepancyNumeric); |
143 values.addHistogram(latencyNumeric); | 143 values.addHistogram(latencyNumeric); |
144 } | 144 } |
145 | 145 |
146 tr.metrics.MetricRegistry.register(responsivenessMetric, { | 146 tr.metrics.MetricRegistry.register(responsivenessMetric, { |
147 supportsRangeOfInterest: true | 147 supportsRangeOfInterest: true, |
| 148 histogramNames: new Set([]), |
148 }); | 149 }); |
149 | 150 |
150 return { | 151 return { |
151 responsivenessMetric, | 152 responsivenessMetric, |
152 }; | 153 }; |
153 }); | 154 }); |
154 </script> | 155 </script> |
OLD | NEW |