[Powertop] How does powertop deal with multiple executions

Jesús Díaz Vico <jesus.diaz.vico at gmail.com >
Newsgroups dev.linux.lists.powertop
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.