Skip to content

Commit

Permalink
Merge pull request #955 from marceloamaral/idle-power
Browse files Browse the repository at this point in the history
Fix IsEstimatedIdlePowerEnabled function
  • Loading branch information
sunya-ch authored Oct 3, 2023
2 parents e1f11b9 + 2ab0fb0 commit f4fc1bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ func SetEnabledEstimatedIdlePower(enabled bool) {
// IsEstimatedIdlePowerEnabled always return true if Kepler has access to system power metrics.
// However, if pre-trained power models are being used, Kepler should only expose metrics if the user is aware of the implications.
func IsEstimatedIdlePowerEnabled() bool {
return ExposeHardwareCounterMetrics
return ExposeEstimatedIdlePowerMetrics
}

// SetEnabledGPU enables the exposure of gpu metrics
Expand Down

0 comments on commit f4fc1bd

Please sign in to comment.