You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change proposed for GetCpuTime method of CpuMonitor class in ndcommon.h : return (100.0 - (((endIdle - startIdle) * 100) / (endCpu - startCpu)));
The text was updated successfully, but these errors were encountered:
yblake
changed the title
On a multiprocessor unit, test cases report incorrect % CPU usage
On a multiprocessor unit, examples report incorrect % CPU usage
Oct 23, 2022
GetSystemTimes return sum of the designated times across all processors, so there is no need to multiply the result by CpuCount().
GetSystemTimes function (processthreadsapi.h)
Change proposed for GetCpuTime method of CpuMonitor class in ndcommon.h :
return (100.0 - (((endIdle - startIdle) * 100) / (endCpu - startCpu)));
The text was updated successfully, but these errors were encountered: