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/metrics/metric_registry.html"> | 8 <link rel="import" href="/tracing/metrics/metric_registry.html"> |
9 <link rel="import" href="/tracing/metrics/system_health/utils.html"> | 9 <link rel="import" href="/tracing/metrics/system_health/utils.html"> |
10 <link rel="import" href="/tracing/model/model.html"> | 10 <link rel="import" href="/tracing/model/model.html"> |
(...skipping 27 matching lines...) Expand all Loading... |
38 sum: false, | 38 sum: false, |
39 }); | 39 }); |
40 hist.description = 'Clock sync latency for domain ' + domains[i] + | 40 hist.description = 'Clock sync latency for domain ' + domains[i] + |
41 ' to domain ' + domains[j]; | 41 ' to domain ' + domains[j]; |
42 hist.addSample(latency); | 42 hist.addSample(latency); |
43 values.addHistogram(hist); | 43 values.addHistogram(hist); |
44 } | 44 } |
45 } | 45 } |
46 } | 46 } |
47 | 47 |
48 tr.metrics.MetricRegistry.register(clockSyncLatencyMetric); | 48 tr.metrics.MetricRegistry.register(clockSyncLatencyMetric, { |
| 49 histogramNames: new Set([]), |
| 50 }); |
49 | 51 |
50 return { | 52 return { |
51 clockSyncLatencyMetric, | 53 clockSyncLatencyMetric, |
52 }; | 54 }; |
53 }); | 55 }); |
54 </script> | 56 </script> |
OLD | NEW |