In my previous post, I spoke of "Normalized" and
"Non-Normalized" CPU utilization values:
--
TABLE:Foreword: Windows is not "process" based OS (like Linux)
but rather "thread" based so all of the numbers relating to CPU
usage are approximations. I did made a "proper" CPU per Process
looping and summing up Threads counter
(https://msdn.microsoft.com/en-us/library/aa394279%28v=vs.85%29.aspx)
based on PID but that proved too slow given I have ~1 sec to deal
with everything. CPU utilization using RAW counters with 1s delay
between samples proved to produce a bit more reliable result than
just reading Formatted counters but, again, too slow for my 1s
ticks (collect sample, wait 1s, collect sample, do the math takes
longer than 1s). Thus I use PerfFormatted counters in version
0.9RC.
[Read more]
Win32_PerfRawData_PerfProc_Process; …