stolk / energygraph

Graphs the energy use of a host inside a text terminal, using intel-rapl data from the /sys filesystem.
MIT License
125 stars 2 forks source link

Shows power not energy? #3

Closed stolk closed 2 years ago

stolk commented 2 years ago

It plots Watt, which is Joules/sec, which is a measure of power, not a measure of energy.

https://www.reddit.com/r/linux/comments/xnxkrz/comment/ipydy7w/?context=3

stolk commented 2 years ago

By happy coincidence, the graph update frequency is 1 second.

With 1 sample / second, it means that the power and the energy are the same!

You can just read the graph as "Joules" instead of "Joules/sec (W)" and the numbers stay the same! mW will be mJ.

So maybe for now, I will ignore my gaffe.