J
jim_adams
Using the System.Management.ManagementObject and "Select * From
Win32_PerfRawData_PerfProc_Process" syntax enables my app to return CPU
utilization for a specific application.
However, on an Intel CPU with Hyperthreading, CPU Utilization is twice
the value shown by the Task Manager. A multiplier error may also be
introduced with Dual Core CPUs, but I don't have access to one to test
it out.
Is there a way to get an accurate CPU Utilization value (e.g. as
displayed by Task Manager) for a process regardless of the CPU type?
Thanks,
Jim
Win32_PerfRawData_PerfProc_Process" syntax enables my app to return CPU
utilization for a specific application.
However, on an Intel CPU with Hyperthreading, CPU Utilization is twice
the value shown by the Task Manager. A multiplier error may also be
introduced with Dual Core CPUs, but I don't have access to one to test
it out.
Is there a way to get an accurate CPU Utilization value (e.g. as
displayed by Task Manager) for a process regardless of the CPU type?
Thanks,
Jim