So this has been something that has been bugging me for a while.
How do programs such as CPU-Z actually monitor things such as voltage and frequency? I am by no means a very experienced programmer, but things that seem complicated always interest me.
Things that I have used, WMI for example, seem to provide a snapshot, and are inaccurate. CPU frequency doesn’t change, and voltage is rounded to two digits (e.g. anything from 1.1 to 1.199 becomes 1.1).
I would expect that some sort of driver has been written, to grant lower-level access, but Googling seems to reveal nothing on how these programs work.
If anyone could enlighten me, and possible give a code example (if it is not too difficult), I would be grateful. Thanks.
It’s most likely some very low level programming against either the BIOS or the Chipset. You’d probably have to find documentation on Intels or AMDs website to do something similar.