Intel® Advisor Help
Specify what percentage of total memory accesses should be processed during cache simulation.
--cachesim-sampling-factor=<integer> |
<integer> is the percentage of total number of memory accesses to process: 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 | 100
10
collect=tripcounts --enable-cache-simulation
collect=roofline --enable-cache-simulation
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.
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