Closed tejaskale closed 2 years ago
I am just trying to print the totals at the end of the line. Helpful ( atleast for me) for quickly testing config changes and how they affect the total power consumption.
[AC] Thermal: OK - Power: OK - Current: OK - Cross-domain (e.g. GPU): OK || VCore: 1048 mV - Package: 8.6 W - Graphics: 0.0 W - DRAM: 0.7 W - Total: 9.3 W
For eg. I was using this to test if disabling CPU cores using the gnome shell extension actually saves power. ( It doesnt unless you drop down to 1 core; as with 2 cores, 2 physical cores seem to be active. Just reduces the threads on them to 1 )
So you want to measure the total energy, which is in Joule or Wh, not Watts. This way you are summing up all the instantaneous power consumption, which does not make any sense.
All the other values(Package, GPU , DRAM ) are also instantaneous power; This is just the total of those.
Oh now I see, sorry. You just want the total power, i.e. CPU+GPU+DRAM. I was overthinking ;)
What are you trying to achieve exactly?