Configure the
Intel® VTune™ Amplifier
to focus your performance analysis on a
task - program functionality performed by a particular code section.
To measure the performance of a task:
Prerequisites:
- Use the
task API to insert calls in your code and
define the tasks.
- Configure your analysis target.
- Click the
New Analysis button on the VTune Amplifier toolbar.
The
Analysis Type configuration window opens.
- Choose the required analysis type from the analysis tree on the
left pane.
- On the right pane, select the Analyze user tasks, events, and
counters option.
- Click the
Start button on the right to run the analysis.
VTune Amplifier collects data detecting the marked tasks. Analyze
the collected results to identify the task regions and task duration versus
application performance over time.