fixed importing issues in power-capping strategies. Changed names of power-capping strategies to extrema.go and progressive-extrema.go
This commit is contained in:
parent
9897c983fe
commit
2cb09ece1f
3 changed files with 19 additions and 17 deletions
|
@ -7,7 +7,7 @@ import (
|
|||
|
||||
var RAPLUnits = math.Pow(2, -32)
|
||||
|
||||
func averageNodePowerHistory(history *ring.Ring) float64 {
|
||||
func AverageNodePowerHistory(history *ring.Ring) float64 {
|
||||
|
||||
total := 0.0
|
||||
count := 0.0
|
||||
|
@ -29,7 +29,7 @@ func averageNodePowerHistory(history *ring.Ring) float64 {
|
|||
}
|
||||
|
||||
// TODO: Figure a way to merge this and avgpower
|
||||
func averageClusterPowerHistory(history *ring.Ring) float64 {
|
||||
func AverageClusterPowerHistory(history *ring.Ring) float64 {
|
||||
|
||||
total := 0.0
|
||||
count := 0.0
|
||||
|
|
Reference in a new issue