What is the relationship between Time and Hitcount?

Code profiling for .NET Developers

Moderators: Luke Jefferson, StephenC, Alex.Davies, AndrewH, melvyn.harbour, Laura Morley

What is the relationship between Time and Hitcount?

Postby ngajjar » Tue Jul 19, 2011 1:23 pm

For example for Fn A
Time (in ms) = 5
HitCount = 30

Does that mean total time taken by Fn A for all 30 execution is 5 ms OR
Is A taking average 5 ms for each execution and hence total time spent in A is 5x30 = 150 ms

Thanks
-nilesh
ngajjar
 
Posts: 7
Joined: Tue Jul 19, 2011 1:09 pm

Postby Brian Donahue » Tue Jul 19, 2011 2:15 pm

Hi Nilesh,

The first statement is true. The time shown is the total time across all invocations for that method.
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am


Return to ANTS Performance Profiler 6

Who is online

Users browsing this forum: No registered users and 0 guests