Skip to content

Commit

Permalink
use correct PowerModel to get process power (sustainable-computing-io…
Browse files Browse the repository at this point in the history
…#875)

Signed-off-by: Takuya Iwatsuka <[email protected]>
  • Loading branch information
tiwatsuka authored Aug 22, 2023
1 parent eb263bc commit 7d58f9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/model/process_power.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func addProcessSamplesToPowerModels(processMetrics map[uint64]*collector_metric.
// add samples to estimate the platform power
if ProcessPlatformPowerModel.IsEnabled() {
featureValues := c.ToEstimatorValues(ProcessPlatformPowerModel.GetContainerFeatureNamesList(), true) // add process features with normalized values
ContainerPlatformPowerModel.AddContainerFeatureValues(featureValues)
ProcessPlatformPowerModel.AddContainerFeatureValues(featureValues)
}

// add samples to estimate the components (CPU and DRAM) power
Expand Down

0 comments on commit 7d58f9f

Please sign in to comment.