-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: Obtaining CPU Utilization Metrics #64
Comments
I am glad you like my lib :) Take a look at
|
Thank you for providing the solution! I've successfully implemented the usage of |
I just noticed that I am using Googling "PercentProcessorUtility Win32_PerfFormattedData_PerfOS_Processor" actually returns no results. As you can see here https://github.com/Jinjinov/Hardware.Info?tab=readme-ov-file#known-issues the main problem with these counters is their slow initialization. If How large is the actual difference between |
Thanks for looking into it! From my real-time comparisons, I've noticed a pretty big gap between |
Could you tell me a few startup times of your app under different conditions? If you start the stopwatch in the first line of
If you tell me these times for both DEBUG and RELEASE (or at least RELEASE) it would really help me a lot. It would allow me to compare the startup times on your PC with those on my PC. If I am going to query another counter |
First off, big thanks for this awesome lib! I'm digging into CPU metrics on Windows and wondering how to get the
PercentProcessorUtility
instead ofPercentProcessorTime
. It seems more in line with Task Manager's display. Any tips on grabbing this specific metric?The text was updated successfully, but these errors were encountered: