Intel® VTune™ Amplifier

Vectorization Analysis

The Vectorization analysis is based on hardware event-based sampling collection. It helps understand how effectively your code utilizes the floating point unit and identify whether the level of vectorization usage (instruction-level parallelism) is sufficient for your program. This analysis type is supported for Intel® processors starting with Intel microarchitecture code name Ivy Bridge.

For the Vectorization analysis, the VTune Amplifier introduces the following metrics that help estimate the floating point unit (FPU) usage: FPU Usage, Single FPU Operations Per Cycle, Double FPU Operations Per Cycle, and x87 FPU Operations Per Cycle.

To use the Vectorization analysis, explore:

Configuration Options

To configure options for the General Exploration 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. From the analysis tree on the left pane, select Microarchitecture Analysis > Vectorization.

    The analysis configuration pane opens on the right.

    Note

    For detailed information on events collected for General Exploration on a particular microarchitecture, refer to the About Events for <Microarchitecture> help topics in the Intel Processor Event Reference available from the Help menu.

  3. Configure the following options:

    CPU sampling interval, ms field

    Specify an interval between CPU samples from 0.01 ms to 1000 ms. By default, the sampling interval for the Vectorization analysis is 1 ms.

    Details button

    Expand/collapse the Details section to explore the default non-editable settings and hardware events used by the Vectorization analysis for your system.

    Note

    • If you want to modify these settings, click the Copy button in the upper right corner. VTune Amplifier creates an editable copy of the custom hardware event-based sampling analysis type configuration and locates it under the Custom Analysis branch in the analysis tree.

    • If you want to enable the Vectorization analysis options for another hardware event-based sampling analysis type, you need to create a custom analysis and enable the Analyze vectorization and Analyze loops options.

Viewpoints

To view Vectorization analysis results, use the Hotspots viewpoint:

The collected metrics are presented in the grid view configured by default to display data by loops and functions. The Vector Instruction Set column in this view shows a vectorization instruction set used for a particular function, loop, and so on.

What's Next

For in-depth vectorization analysis, consider using the Vectorization Advisor tool provided with the Intel Advisor XE 2016 and higher.

See Also