Thank you, Arjan.
But my question is how does powertop group programs with the same name.
Unless I'm doing something wrong, I doubt that it is just adding the power
consumption of all the independent executions. I say this because powertop
estimates a consumption of 335 mW for 500 executions, and a consumption of
364 mW for 5000. I am configuring the monitorization time with the --time
parameter (with a value long enough to cover all the 500 or 5000
executions).
Is it calculating an average then?
On Tue, Oct 29, 2013 at 3:20 AM, Arjan van de Ven <arjan(a)linux.intel.com>wrote:
On 10/28/2013 4:37 PM, Jesús Díaz Vico wrote:
> Hello,
>
> I'm trying to estimate the power consumption (besides some other
> properties) of a custom program. During my tests, I execute my program
> several times (it is not a
> background process) with powertop running. My doubt is: how does powertop
> deal with these multiple executions?
>
> I'd guess that it averages over the number of executions, because I'm
> obtaining very similar power consumption measurements for both 500 and 5000
> executions of my program
> (335 mW and 364 mW, respectively). Still, there is the possibility that
> powertop only keeps the estimation corresponding to the last execution...
>
> Thanks.
>
by default, powertop will group programs with the same name into one
bucket for display purposes.
--
Jesús Díaz Vico