I am wondering if it is possible to measure the power being consumed by the CPU core (ARM chip) of a Raspberry Pi? Specifically, I want to monitor this power consumption for various applications that are running on this device. I understand it may be possible by some system line commands, however, I am wondering if there is a way (maybe even by using an external device) to get the power readings of the CPU cores, on a much smaller granularity, say every nanosecond or microsecond.
If not the power, Is there a way to do the above for voltage and current readings? That way also, the power can be calculated using V*I.