Hi.
Win32_PerfRawData_PerfOS_Processor
The iteration of the object give, to my system 3 goes on the .name "0","1","_total"
I have no idea which one to get so I can compare . Even if I assume that 0 and 1 are the cores, counting the 0+1 core values does not equal to the "_total".
Any idea which is the correct value?
Thanks.
Edit:
Just saw that if you add the 0,1 cores and the do (0+1 cores ) - Total , it will give you the total.
From my understanding 0+1 gives the full CPU capability but Total gives the total usage in accordance to the capability? Is that the case?
If so, subtracting should give another number, not the total.
I'm confused about what the hell is going on with WMI.
Most examples will either select the 0 or the _total , I'm assuming that selecting the 0 was a leftover from old WMI examples with simpler CPU's so for now I'll use the total.
If any objection or addition you're welcome.
Win32_PerfRawData_PerfOS_Processor
The iteration of the object give, to my system 3 goes on the .name "0","1","_total"
I have no idea which one to get so I can compare . Even if I assume that 0 and 1 are the cores, counting the 0+1 core values does not equal to the "_total".
Any idea which is the correct value?
Thanks.
Edit:
Just saw that if you add the 0,1 cores and the do (0+1 cores ) - Total , it will give you the total.
From my understanding 0+1 gives the full CPU capability but Total gives the total usage in accordance to the capability? Is that the case?
If so, subtracting should give another number, not the total.
I'm confused about what the hell is going on with WMI.
Most examples will either select the 0 or the _total , I'm assuming that selecting the 0 was a leftover from old WMI examples with simpler CPU's so for now I'll use the total.
If any objection or addition you're welcome.