blob: 6e81c9ac7e63f7dfe846b6126b862e78e8f6b3cb [file] [log] [blame]
// Copyright 2020 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package power
import (
"chromiumos/tast/common/perf"
)
// TestMetrics returns a slice of metrics that should be used for power
// tests.
func TestMetrics() []perf.TimelineDatasource {
return []perf.TimelineDatasource{
NewCpuidleStateMetrics(),
NewRAPLPowerMetrics(),
NewSysfsBatteryMetrics(),
NewSysfsThermalMetrics(),
NewPackageCStatesMetrics(),
NewProcfsCPUMetrics(),
}
}