Total time of LOCs and CPU Time With Children of method.

Code profiling for .NET developers.

Moderator: dom.smith

Total time of LOCs and CPU Time With Children of method.

Postby Duy » Thu Jun 20, 2013 5:43 am

Hi,

I calculate total time of LOCs in a method. Then I compare it with CPU Time With Children of that method.
But total time of LOCs is not equal with CPU Time With Children. Almost CPU Time With Children > total time of LOCs.
Does ANTS tool calculate CPU Time With Children based on time of LOCs ? If not, how is it (CPU Time With Children) calculated?

Thanks,
Duy
 
Posts: 7
Joined: Thu Apr 11, 2013 7:41 am

Postby Chris.Allen » Tue Jun 25, 2013 12:14 pm

Time with Children is the more trustworthy value as it is a measured value- lines of code is less accurate as it is a calculated value. We don't recommend using the times of lines of code if it is accuracy you need- use method timings instead.
Chris.Allen
 
Posts: 594
Joined: Thu Mar 12, 2009 4:17 pm


Return to ANTS Performance Profiler 8

Who is online

Users browsing this forum: No registered users and 0 guests