Closed MM102 closed 1 year ago
It is not easy indeed. Also depends on the interval of the polling of the data.
But I do see that there is a difference in it. Never really checked it out.
I will investigate this issue, maybe it has something to do with issue #20 . Here it seems fine (eg: CPU at 19%):
laptop specs: Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz 2.11 GHz, 4 Core(s), 8 Logical Processor(s)
Maybe the bar just shows a single cpu?
I am working on this issue, should be fixed on the next release.
You might already have seen this post: https://stackoverflow.com/a/63732722
The author of this answer mentions you should use Processor Information/%Processor Utility/_Total to match the task manager.
cpuCounter = new PerformanceCounter(
"Processor Information",
"% Processor Utility",
"_Total",
true
);
I understand that acurately tracking cpu usage is hard/impossible, but I was wondering if you knew why there was such a big discrepancy between this and other apps. More importantly the discrepancy between the percent shown and the bar graph behind it.
Processor information: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz, 2592 Mhz, 6 Core(s), 12 Logical Processor(s)