File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,11 @@ Given theses data when can we can compute cumulative data (`cpu.totalUsageInUser
42
42
43
43
### Formulas to convert times or volumes in Wh
44
44
45
- - cpuWh = ` pue ` _ avg(` cpu.totalUsageInUserMode ` + ` cpu.totalUsageInKernelMode ` ) _ ` config.CPU ` / 3600
46
- - memWh = ` pue ` _ avg(` memory.usage ` ) _ ` config.MEM ` \ * ` totalTime ` / 3600
47
- - diskWh = ` pue ` _ avg(` io.totalByte ` ) _ ` config.DISK `
48
- - networkWh = avg(` network.totalReceived ` + ` network.totalTransmitted ` ) \ * ` config.NETWORK ` / 2
49
- - screenWh = avg(` userTime ` ) \ * ` config.SCREEN ` / 3600
45
+ - cpuWh = ` pue ` * avg(` cpu.totalUsageInUserMode ` + ` cpu.totalUsageInKernelMode ` ) * ` config.CPU ` / 3600
46
+ - memWh = ` pue ` * avg(` memory.usage ` ) * ` config.MEM ` * ` totalTime ` / 3600
47
+ - diskWh = ` pue ` * avg(` io.totalByte ` ) * ` config.DISK `
48
+ - networkWh = avg(` network.totalReceived ` + ` network.totalTransmitted ` ) * ` config.NETWORK ` / 2
49
+ - screenWh = avg(` userTime ` ) * ` config.SCREEN ` / 3600
50
50
51
51
When several measurements are made, the average of the measurements is used.
52
52
You can’t perform that action at this time.
0 commit comments