View Instrumentation and Tracing Technology (ITT) API Task Data in
Intel® VTune™
Profiler
Intel® VTune™
Profiler
User task and API data can be visualized in
Intel® VTune™
performance analysis results.
Profiler
After you have added basic annotations to your application to control performance data collection, you can view these annotations in the
Intel VTune
timeline. All supported instrumentation and tracing technology (ITT) API tasks can be visualized in
Profiler
VTune
.
Profiler
Use the following steps to include ITT API tasks in your performance analysis collection:
- Click the
(standalone GUI)/
(Visual Studio IDE)
Configure Analysisbutton on theIntel® VTune™toolbar.ProfilerTheConfigure Analysiswindow opens. - Set up the analysis target in theWHEREandWHATpanes.
- FromHOWpane, click the
Browse button and select an analysis type. For more information about each analysis type, see Performance Analysis Setup.
- Select theAnalyze user tasks, events, and counterscheckbox to view the API tasks, counters, and events that you added to your application code.In some cases, theAnalyze user tasks, events, and counterscheckbox is in the expandableDetailssection. To enable the checkbox, use theCopybutton at the top of the tab to create an editable version of the analysis type configuration. For more information, see Custom Analysis .
- Click the
Start button to run the analysis.
After collection completes, the analysis results appear in a viewpoint specific to the analysis type selected. The API data collected is available in the following locations:
- Timeline view: Each API type appears differently on the timeline view. In the example below, the code was instrumented with the task API, frame API, event API, and collection control API. Tasks appear as yellow bars on the task thread. Frames appear at the top of the timeline in pink. Events appear on the appropriate thread as a triangle at the event time. Collection control events span the entire timeline. Hover over a task, frame, or event to view the type of API task.
- Grid view: Set theGroupingtoTask Domain / Task Type / Function / Call StackorTask Type / Function / Call Stackto view task data in the grid pane.
- Platform tab: Individual tasks are available in a larger view on thePlatformtab. Hover over a task to get more information.