Intel® Advisor User Guide

ID 766448
Date 3/31/2023
Public

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

Document Table of Contents

track-stack-accesses

Track accesses to stack memory.

Syntax

--track-stack-accesses

--no-track-stack-accesses

Default

Off (no-track-stack-accesses)

Actions Modified

collect=tripcounts --enable-data-transfer-analysis

Usage

By default, the Intel® Advisor filters out all accesses to stack memory. When you enable this option, all accesses to stack memory are included in data transfer calculations.

This corresponds with data-transfer=medium or data-transfer=full. Do not use the data-transfer=<mode> with the track-stack-accesses option because data-transfer=<mode> overrides the enable-data-transfer-analysis and track-stack-accesses.

TIP:
Enabling can increase overhead.

Example

Run a Trip Counts and FLOP analysis. Enable data transfer simulation and analyze accesses to stack memory.

advisor --collect=tripcounts --flop --enable-data-transfer-analysis --track-stack-accesses --project-dir=./advi_results -- ./myApplication

See Also