Topic: CPU frequency drops to the base clock for one sample

SVP 4.7.0.302, Windows 10 22H2 19045.7846, i9-12900H.

The CPU frequency in the performance monitor stays at 3.8 GHz, and every couple
of minutes a single sample drops to 2.5 GHz, then it's back. Hooking pdh.dll
shows what happens:

  PdhGetFormattedCounterValue -> 0x800007D6 (PDH_CALC_NEGATIVE_DENOMINATOR), value 0

4 times in 594 samples over 10 minutes, always the same code, always with a
normal 1000 ms collection interval. A separate process sampling the same counter
gets the same error at a different rate (2 in 600), so it's not SVP - the counter
itself fails to compute when its denominator goes backwards, which seems to
happen on 12th gen hybrid CPUs.

Suggestion: check CStatus before using the value and keep the previous sample
when it's not 0. Right now the invalid value looks like it renders as the base
clock (2500 MHz).

Re: CPU frequency drops to the base clock for one sample

we'll look into this at the next update