Intel® Advisor User Guide

ID 766448
Date 3/22/2024
Public

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

Document Table of Contents

stack-access-granularity

Specify stack access size to set stack memory access measurement granularity for the data transfer simulation.

Syntax

--stack-access-granularity=<integer>

Arguments

<integer> is a power-of-two value from 16 to 1048576.

Default

1048576

Actions Modified

collect=tripcounts --data-transfer=[medium | full]

collect=tripcounts --enable-data-transfer-analysis --track-stack-accesses

Usage

Decrease the stack access granularity if your application has multiple small objects on a stack to improve analysis accuracy. Decreasing the granularity increases collection overhead.

Example

Run the Trip Counts analysis with medium data transfer and decrease the stack access size to 32:

advisor --collect=tripcounts --data-transfer=medium --stack-access-granularity=16 --project-dir=./advi_results -- ./myApplication

See Also