enable-cache-simulation
enable-cache-simulation
Model CPU cache behavior on your
target application.
GUI Equivalent
For basic modeling functionality:
For enhanced modeling functionality:
or
Syntax
--enable-cache-simulation
--no-enable-cache-simulation
Default
Off (no-enable-cache-simulation)
Usage
Enabling can increase collection overhead.
Cache simulation modeling applies to the following:
- Memory Access Patterns analysis - This basic simulation functionality models accurate memory footprints, miss information, and cache line utilization for a downstream Memory Access Patterns report.
- CPU / Memory Roofline Insightsperspective - This enhanced simulation functionality models multiple levels of cache for a downstream Memory-Level Roofline chart or Roofline interactive HTML report.
Example
Run a Memory Access Patterns analysis. Enable cache
simulation with basic functionality and default cache parameters to collect
cache modeling data for a downstream Memory Access Patterns report.
advisor --collect=map --enable-cache-simulation --project-dir=./advi_results -- ./myApplication
Run a Roofline analysis for all memory levels.
advisor --collect=roofline --enable-cache-simulation --project-dir=./advi_results -- ./myApplication