blob: dfc2364a4575a2c6362ff474939621937b948779 [file] [log] [blame]
<!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/cpu_time_metric.html">
<link rel="import" href="/tracing/metrics/system_health/hazard_metric.html">
<link rel="import" href="/tracing/metrics/system_health/long_tasks_metric.html">
<link rel="import" href="/tracing/metrics/system_health/power_metric.html"
<link rel="import"
href="/tracing/metrics/system_health/responsiveness_metric.html">
<script>
'use strict';
tr.exportTo('tr.metrics.sh', function() {
function systemHealthMetrics(values, model) {
tr.metrics.sh.responsivenessMetric(values, model);
tr.metrics.sh.longTasksMetric(values, model);
tr.metrics.sh.hazardMetric(values, model);
tr.metrics.sh.powerMetric(values, model);
tr.metrics.sh.cpuTimeMetric(values, model);
}
tr.metrics.MetricRegistry.register(systemHealthMetrics);
return {
systemHealthMetrics: systemHealthMetrics
};
});
</script>