Pane: Custom Analysis - New Hardware Event-based Sampling Analysis

To access this pane: Create a new analysis type.

To access this pane for already created custom analysis:

  1. Click the New Analysis button on the Intel® VTune™ Amplifier toolbar.

    The New Amplifier Result tab opens with the Analysis Type window active.

  2. In the Analysis Type window, select the Custom Analysis > <Hardware Event-based Sampling Analysis Type> entry in the analysis tree pane.

    The Custom Analysis pane opens in the static mode. To edit the configuration options, click the Edit button.

Use this pane to configure a new custom analysis type based on hardware event-based sampling data collection.

Use This

To Do This

Analysis name field

Enter/edit a name of this custom analysis type.


Provide a short meaningful description on the analysis type you create. This information may help you easily identify the analysis type specifics later.

Events table

Specify events to collect information about.

Use This

To Do This

Event Name

View a name of the event to monitor.

Sample After

View/modify the number of events after which the VTune Amplifier interrupts the event data collection. The Sample After value depends on the target duration. Based on the duration value, the VTune Amplifier adjusts the Sample After value with a multiplier.


To change the Sample After value, you can directly edit the required cell.

Event Description

Brief information on the event. For more details, see the Reference for Processor Events.

Add Event button

Add a new event to collect.

Remove Event button

Remove the selected event from the table of events to collect.

LBR Filter

Click a row to select a filter for an event and enable the collection of filtered Last branch records (LBRs).

Collect stacks check box

Enable advanced collection of call stacks and thread context switches to analyze performance, parallelism, and power consumption per execution path.

Estimate call counts check box

Obtain statistical estimation of call counts based on the hardware events.

Analyze user tasks check box

Analyze tasks in your code specified via Task API. This option caused higher overhead and increases the result size.

Analyze Processor Graphics hardware events drop-down menu

Analyze performance data from Intel HD Graphics based on the predefined groups of GPU metrics.

GPU sampling interval, us spin box

Specify an interval (in microseconds) between GPU samples.

Trace OpenCL kernels on Processor Graphics check box

Capture the execution time of OpenCL™ kernels on a GPU, identify performance-critical GPU computing tasks, and analyze the performance of OpenCL kernels per GPU hardware metrics.

Analyze DirectX pipeline events check box

Analyze GPU usage and frame rate based on the data provided by the DirectX* and identify whether your application is GPU or CPU bound.


You are recommended to select the Collect stacks option as to detect context switches and correlate CPU and GPU usage data.

Event mode drop-down list

Limit event-based sampling collection to USER (user events) or OS(system events) mode. By default, all event types are collected.

Command line name field

Enter/edit a name of the custom analysis type that will be used as an identifier when analyzing the project from the command line. Keep it short for your convenience.

Analysis identifier field

Specify a shorthand identifier to be appended to the name of each result produced by this analysis type. For example, adding the ge identifier for the General Exploration analysis result produces the following result name: r000ge, where 000 is the result number.

See Also

Supplemental documentation specific to a particular Intel Studio may be available at <install-dir>\<studio>\documentation\ .

For more complete information about compiler optimizations, see our Optimization Notice.