views:

70

answers:

1

Hi all

I would like to use Performance Monitor to check the CPU consumption of my process. Right now I am working on a MultiCore machine.

If I have a look at my process in TASK MANAGER I see that my process consumes 20% of CPU. If I start performance monitor, I select Process->->% Processor Time I see values peaking up and over 100%. Do you know why and how to get the real measure?

I also looked at the CPU consumption for all of my 4 cores, but I don't know exactly how to attribute consumption to my process.

If you can suggest a link or url about how to read CPU usage I would really appreciate! Thanks a lot! AFG

+1  A: 

Try Process Explorer from Sysinternals. Very useful.

This article explains what you are seeing.

Basically Task Manager averages the cores together, and Performance Monitor sums up the the Process's time on each core. So, % Processor Time on a system with 4 cores could go up to 400. N * 100 = MaxValue; Where N is the number of cores/processors in the system.

VoidDweller
Thanks! I knew it! The thing is that I would like to stick for now on PerformanceMonitor since because on my C# app I can add my counters...Thanks anyway!Mn
Abruzzo Forte e Gentile
@AFG: Does my edited answer answer your question?
VoidDweller