

we can get the value through mapping into special memory location. Maybe the hardware manufacturer like intel has already record the value of power in real-time ,they put the value into some special register in hardware.

Using this data ,we can build mode of power consumption about PC.if there are those APIs, where can I find them ? There are some sensors on the motherboard ,we can use values of those sensors to calculate the real-time power.Īccording to different OS, we have some APIs that can get the utilization of cpu,memory throughout rate and disk I/O rate. I already have some idea ,but not sure which is the best way to solve this question : I want to know how did it can get these data ? When I use aida64,I found that in computer/sensor ,there are some data about power consumption. especially the value of CPU, Memory and disk. As the question says ,I want to monitor the value of power(watts) that some components consumption.
