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

cachesim-sampling-factor

Specify what percentage of total memory accesses should be processed during cache simulation.

Syntax

--cachesim-sampling-factor=<integer>

Arguments

<integer> is the percentage of total number of memory accesses to process: 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 | 100

Default

10

Actions Modified

collect=tripcounts --enable-cache-simulation

collect=roofline --enable-cache-simulation

Usage

If loops in your application have mixed memory access patterns, Intel® Advisor might not be able to capture actual cache behavior when analyzing only the default 10% of memory accesses, which may decrease cache simulation accuracy. Increase the sampling factor to improve accuracy. This option also increases collection overhead.

NOTE:
Use with the --enable-cache-simulation option.

Example

Run the Trip Counts analysis with cache simulation processing 50% of memory accesses.

advisor --collect=tripcounts --enable-cache-simulation --cachesim-sampling-factor=50 --project-dir=./advi_results -- ./myApplication

See Also