If you're mapping a given executable and you have access to more information about the CPU then you may be able to use some equations from frequency scaling to get a power profile.
For instance, the power consumption of a processor is estimated by:
where P is power, C is the capacitance being switched per clock cycle, V is voltage, and F is the processor frequency (cycles per second).
Answer from Samuel on Stack ExchangeHello,
I would like to know if there is any parameter on the performance monitor that will track the CPU power consumption in watts or milliwatts.
I know there are some external tools but I would like to use any direct OS.
How to compute CPU power consumption - Electrical Engineering Stack Exchange
How to measure power consumption?
Full CPU power consumption | HWiNFO® Forum
How can I measure how much TOTAL WATTAGE my computer is pulling from the PSU ?
Buy a Kill-A-Watt, they're like $15 and measure power consumption. No software is going to be very accurate.
More on reddit.comVideos
If you're mapping a given executable and you have access to more information about the CPU then you may be able to use some equations from frequency scaling to get a power profile.
For instance, the power consumption of a processor is estimated by:
where P is power, C is the capacitance being switched per clock cycle, V is voltage, and F is the processor frequency (cycles per second).
I can recommend you to have a look to the PowerAPI tookit, a middleware library that estimates the power consumption of the CPU in real-time. You can even have an estimation of the power consumption per process. PowerAPI does not require any third-party power meter to be connected (unless you need a custom power model).