methods CPU Times

Questions about YourKit .NET Profiler
Post Reply
Gustavo Woltmann
Posts: 2
Joined: Wed Feb 24, 2016 6:36 pm

methods CPU Times

Post by Gustavo Woltmann »

Hi,

Could someone explain me why the methods CPU Times are always different when sucessive profilings are made for the same application on the same conditions?

I'm running on Windows Xp, and I tried both sampling and tracing profiling methods.

Thank you.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: methods CPU Times

Post by Anton Katilin »

Do you use sampling or tracing?
Sampling as approximate by its nature.
With tracing, wall time is recorded by default, so any side effects such as other applications running in parallel which which your application shared CPU resources may cause fluctuations:
https://www.yourkit.com/docs/dotnet/help/times.jsp
Post Reply