These are chat archives for Spirals-Team/powerapi

26th
Oct 2015
evek2
@evek2
Oct 26 2015 14:21

Hi everyone. I have just started using PowerAPI (CLI) to measure the energy consumption of certain algorithms. However, I am encountering some problems, maybe you could help me with them. Whenever I measure the power consumption on a specific PID (e.g. Firefox), it does not matter if I change the --frequency value, since the tool will still measure it every 1 seconds, approximately.
Is this a bug, or is it expected since it takes longer to compute the power of one process than of all processes? This is an issue for me since the processes that I am measuring are ~3 seconds long.
Thanks a lot in advance.

PS: I am running it with sigar-cpu-simple in a Macbook pro.