Graph Hit Count Different from Source Code Hit Count

Code profiling for .NET Developers

Moderators: StephenC, Alex.Davies, AndrewH

Graph Hit Count Different from Source Code Hit Count

Postby nitzb » Wed Apr 21, 2010 3:26 pm

I selected a particular event in the timeline. The graph has 99 hit count (.707 sec) for a particular method, but in the the source code where the method is called, it's showing a hit count of 297 (Avg Time = .007 sec and Time = 1.966 sec).

What's the difference between the hit count in the graph and source code? Is the time on the graph the total time for the number of hits?
nitzb
 
Posts: 1
Joined: Wed Apr 21, 2010 3:12 pm

Postby slaphead99 » Fri Apr 23, 2010 5:45 pm

This seems unusual- the data should be consistent across all the views.

Could you please send your saved results file to support@red-gate.com and I should be able to see the exact problem.

Thanks!
slaphead99
 
Posts: 92
Joined: Wed Mar 10, 2010 2:27 pm

Postby slaphead99 » Wed Apr 28, 2010 4:23 pm

Ah! The answer here is that the source code view gives you the accumulated hit count whereas all other views give hit count per single stack (so for methods called recursively) the values will be different.
slaphead99
 
Posts: 92
Joined: Wed Mar 10, 2010 2:27 pm


Return to ANTS Performance Profiler 5

Who is online

Users browsing this forum: No registered users and 0 guests