User Guide

Contents

Trip Counts Analysis

Trip Counts Analysis Purpose and Usage

Run a Trip Counts analysis to dynamically identify the number of times loops are invoked and execute (sometimes called
call count/loop count
and
iteration count
respectively) and add this data to the
Survey Report
. Use Trip Counts data to:
  • Detect loops with too-small trip counts and trip counts that are not a multiple of vector length.
  • Analyze parallelism granularity more deeply.

Trip Counts Analysis Prerequisites

To prepare to run a Trip Counts analysis:
  1. Perform the same preparation steps for a basic
    Survey Report
    .
  2. In the Analysis Target tab in the Project Properties dialog box, choose the
    Survey Trip Count Analysis
    type and review the parameters. (
    Survey Trip Counts Analysis
    parameters should be similar to those for the
    Survey Hotspots Analysis
    type.)
  • If you plan to run Refinement Reports, set parameters at the same time you set parameters for the
    Survey Hotspots Analysis
    and
    Survey Trip Count Analysis
    types. If possible, use the
    Inherit settings from Survey Hotspots Analysis Type
    checkbox for other Analysis Types.
  • Setting search directories in the Binary/Symbol Search tab and Source Search tabs is optional for the
    Vectorization Advisor
    .
  • Choose the optimal compiler settings. The most up-to-date settings are in .

Run a Trip Counts Analysis

To run a Trip Counts analysis: In the Vectorization Workflow tab, ensure the
Trip Counts
checkbox is selected, then click the Intel Advisor control: Run analysis 
			 button under
Find Trip Counts and FLOP
.
While analysis is running, you can do the following in the Workflow tab:
  • Stop analysis and data collection, and retain the already collected data: Click the button.
  • Cancel analysis and data collection, and discard the collected data: Click the button.
  • Interrupt post-collection data finalization: Click the button.
After analysis is complete, the
Intel Advisor
adds data to the
Trip Counts
column set in the
Survey Report
.
  • Collecting Trip Counts data may substantially increase report generation time. There are a variety of techniques available to minimize data collection, result size, and execution time.
    Check See Also.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804