We have seen some API's on windows which can display the voltages to the processor. Is there any way to measure the amperage to the processor? The idea is to monitor the power usage of the processor in a machine.
There are a few applications now available. For instance, Microsoft Joulemeter can estimate CPU power. Some applications like HP Power Assistant can estimate the power consumption of the whole computer.
API that you could explore: Power API, Performance API
The following paper may contain some insightful information:
Power Measurement of Computers: Analysis of the Effectiveness of the Software Based Approach