| Matthew Garrett ( |
It's not generally possible to measure CPU power consumption directly unless you have an instrumented board. You can retrieve information on how many C-state transitions have occured and how long the CPU stayed in those states, which (assuming you have reasonable knowledge about the processor) lets you come up with a pretty reasonable estimate.