I'm trying to measure instaneous power comsumption by processor on ARM-Cortex-A9/Ubuntu 12.04 platform.
Does anyone know how to do this?
I'm trying to measure instaneous power comsumption by processor on ARM-Cortex-A9/Ubuntu 12.04 platform.
Does anyone know how to do this?
There are 4 obvious approaches to this:
Since you're using the OMAP4460 (Pandaboard per chance?) it'll probably be paired with the TWL6030 power supply IC. A quick look at the datasheet suggests that it's capable of measuring current draw when running from battery (this is how the battery level indicator is implemented). There will be driver support for this. The OMAP4430 (and probably by extension 4460) doesn't have power supply monitoring of its own.
Might also be worth looking on TI's website for white-papers. This is a common enough thing to do.
I think it mainly depends on your processor or SOC manufacturer. ARM defines processor core, manufacturer defines everything around it (like peripherials etc.).
Also when Ubuntu is ported on your platform, maybe there just be some power measuring application which also supports that platform.