User Guide

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.
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

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.