Skip to content

Commit 366de99

Browse files
authored
fix: make log about node energy accurate (#531)
1 parent 98f2ee5 commit 366de99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/collector/metric/node_metric.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ func (ne *NodeMetrics) GetNodeResUsagePerResType(resource string) float64 {
305305
}
306306

307307
func (ne *NodeMetrics) String() string {
308-
return fmt.Sprintf("node energy (mJ): \n"+
308+
return fmt.Sprintf("node delta energy (mJ): \n"+
309309
"\tePkg: %d (eCore: %d eDram: %d eUncore: %d) eGPU: %d eOther: %d \n",
310310
ne.TotalEnergyInPkg.SumAllDeltaValues(), ne.TotalEnergyInCore.SumAllDeltaValues(), ne.TotalEnergyInDRAM.SumAllDeltaValues(), ne.TotalEnergyInUncore.SumAllDeltaValues(), ne.TotalEnergyInGPU.SumAllDeltaValues(), ne.TotalEnergyInOther.SumAllDeltaValues())
311311
}

0 commit comments

Comments
 (0)