google / UIforETW

User interface for recording and managing ETW traces
https://randomascii.wordpress.com/2015/04/14/uiforetw-windows-performance-made-easier/
Apache License 2.0
1.55k stars 201 forks source link

Record CPU Core Frequency #160

Closed AloisKraus closed 1 year ago

AloisKraus commented 1 year ago

Is it possible to record the Core Frequency along with CPU sampling or is there a hardware counter which one could employ? Power saving settings can make a big difference, but I am not sure how I can measure the impact of these.

randomascii commented 1 year ago

UIforETW samples the CPU speed every second or two. You can see the results in Generic Events-> UIforETW.exe-> Multi-Main-> Throttling Status. I use that to detect thermal throttling.

There is also an official CPU frequency provider. You can find it in Other-> CPU Frequency. The right-most column shows the weighted average of the CPU speed.