nisha jain wrote:
> Hi Auke,
> 
> Thanks for the reply. My first objective is to display cpu-s power consumption
> in watts for each individual application running in the system. Is it possible
> to do so using powertop? I have only seen cpu states under directory created
> inside the /sys/devices/system/cpu/cpu0 or cpu1/cpuidle path so i am not sure
> if it is for just idle state of the CPU.

while technically possible, practically this is extremely hard:

- CPU times of processes do not convert 1:1 into power consumption
- you also need to know which hardware resources (memory, disk, audio, usb, bus,
etc etc) that particular piece of software uses and how much power each of these
components use for the particular task being executed.

without a complete rewrite and much more technical information about every piece
of hardware you can't do this (with powertop or not).

> Are you referring to the following kernel document for understanding the cpu
> related information? -
> 
> http://www.kernel.org/doc/Documentation/

that's one copy, yes. not sure how up to date that version is. the latest is
always in the kernel git tree.


_______________________________________________
Power mailing list
[email protected]
http://www.bughost.org/mailman/listinfo/power

Reply via email to