| <!DOCTYPE html> |
| <!-- |
| Copyright (c) 2016 The Chromium Authors. All rights reserved. |
| Use of this source code is governed by a BSD-style license that can be |
| found in the LICENSE file. |
| --> |
| |
| <link rel="import" href="/tracing/metrics/system_health/efficiency_metric.html"> |
| <link rel="import" |
| href="/tracing/metrics/system_health/responsiveness_metric.html"> |
| |
| <script> |
| 'use strict'; |
| |
| tr.exportTo('tr.metrics.sh', function() { |
| function SystemHealthMetrics(valueList, model) { |
| tr.metrics.sh.ResponsivenessMetric(valueList, model); |
| tr.metrics.sh.EfficiencyMetric(valueList, model); |
| } |
| |
| SystemHealthMetrics.prototype = { |
| __proto__: Function.prototype |
| }; |
| |
| tr.metrics.MetricRegistry.register(SystemHealthMetrics); |
| |
| return { |
| SystemHealthMetrics: SystemHealthMetrics |
| }; |
| }); |
| </script> |