Measuring CPU OC in Perfmon.dll
Posted: February 12th, 2017, 11:41 pm
I already have Speedfan, afterburner, and my mobo suite running to monitor/OC everything, so I don't want to install HWinfo or coretemp to measure something my OS can already display. I've noticed an ongoing problem with performance monitor not displaying correct clock speeds when boost clocks or overclocks are applied. It seems to just display whatever is in the registry or power management for your stock frequency.
https://forum.rainmeter.net/viewtopic.php?t=19516
However, it seems there is one value that does read correctly...sort of.
http://superuser.com/questions/256921/what-does-the-maximum-frequency-number-mean-in-the-windows-resource-monitor
So if you simply multiply the % maximum frequency by the stock frequency we should get the real frequency.
When I looked for other people attempting this, I found one person who had issues: https://forum.rainmeter.net/viewtopic.php?t=14051
I'm guessing it's an issue with update rates. I tried a quick stress test and while resource monitor is displaying the maximum frequency increasing accurate to the OC, no change is being displayed on the skin or performance monitor. I guess that means the post in superuser is wrong. Maybe Maximum Frequency in Resource Monitor is not the same as % of Maximum Frequency in Performance Monitor, so what is? I double checked all the instances under "% of Maximum Frequency" & "Frequency" to be sure, and none of them actually displayed any fluctuations when the clock increased.
https://forum.rainmeter.net/viewtopic.php?t=19516
However, it seems there is one value that does read correctly...sort of.
http://superuser.com/questions/256921/what-does-the-maximum-frequency-number-mean-in-the-windows-resource-monitor
So if you simply multiply the % maximum frequency by the stock frequency we should get the real frequency.
Code: Select all
[MeasureCPURegistry]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=HARDWARE\DESCRIPTION\System\CentralProcessor\0
RegValue=~MHz
[MeasureFrequency]
Measure=Plugin
Plugin=Plugins\PerfMon.dll
PerfmonObject="Processor Information"
PerfmonCounter="% of Maximum Frequency"
PerfmonInstance="0,0"
PerfmonDifference=0
[MeasureCPUMHz]
Measure=Calc
Formula=MeasureFrequency*MeasureCPURegistry/100
I'm guessing it's an issue with update rates. I tried a quick stress test and while resource monitor is displaying the maximum frequency increasing accurate to the OC, no change is being displayed on the skin or performance monitor. I guess that means the post in superuser is wrong. Maybe Maximum Frequency in Resource Monitor is not the same as % of Maximum Frequency in Performance Monitor, so what is? I double checked all the instances under "% of Maximum Frequency" & "Frequency" to be sure, and none of them actually displayed any fluctuations when the clock increased.