Enable the stack collection for the hardware event-based sampling analysis and configure the
Intel® VTune™ Amplifier to statistically approximate the number of calls to sampled functions.
To enable the call count collection:
-
Click the
New Analysis button on the VTune Amplifier toolbar.
The
New Amplifier Result tab opens with the Analysis Type window active.
-
In the
Analysis Type window, select the
Algorithm Analysis > Advanced Hotspots
analysis type from the left pane.
The
Advanced Hotspots configuration pane opens on the right.
-
From the
Collection level options, select
Hotspots, call counts, stacks and context switches.
-
Click the
Start button on the right to run the analysis.
VTune Amplifier collects the data statistically estimating the number of calls to each function and provides the analysis data in the
Estimated Call Count column in the
Hotspots viewpoint.