Setting call aggregation preferences
You can control how the profiling tools display information
using the Preferences dialog box. To open it, select
Options>Preferences from any profiling view’s menu bar.
In both Class and Routine views, you can choose how functions
and events that are called more than once are displayed. Select the
Aggregate Calls check box if you want the view to display a single
line for each called function or event that represents a sum of all
the times it was called. If you do not select the check box, the view
displays statistics for each call on a separate line.
For example, if aggregation is enabled and a function calls
another function five times, you see one entry with five hits; with no
aggregation, you see five separate entries for the same
function.
Internally, the profiling tool controls aggregation by using the
AggregateDuplicateRoutineCalls boolean argument to the
OutgoingCallList and IncomingCallList functions on the ProfileRoutine
object.