Intel® Advisor User Guide

ID 766448
Date 11/07/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

trip-counts

Collect loop trip counts data during Trip Counts & FLOP analysis.

GUI Equivalent

Analysis Workflow > Characterizatoin > Collect trip counts

Project Properties> Analysis Target> Trip Counts and FLOP Analysis> Collect information about loop trip counts

Syntax

--trip-counts

--no-trip-counts

Default

On (trip-counts)

Actions Modified

collect=tripcounts

Usage

Use the option, which allows you to dynamically identify the number of times loops are invoked and executed, to:

  • Detect loops with too-small trip counts and trip counts that are not a multiple of vector length.

  • Analyze parallelism granularity more deeply.

Disabling can decrease analysis overhead.

Example

Run a Trip Counts & FLOP analysis. Collect trip counts, FLOP, and call stack data.

advisor --collect=tripcounts --flop --stacks --project-dir=./advi_results -- ./myApplication

Run a Trip Counts & FLOP analysis. Collect only FLOP data.

advisor --collect=tripcounts --no-trip-counts --search-dir src:=./src --project-dir=./advi_results -- ./myApplication

See Also