enable-cache-simulation

Collect data to model CPU cache behavior on your target application.

GUI Equivalent

For basic modeling functionality: Project Properties > Analysis Target > Memory Access Patterns Analysis > Advanced > Enable CPU cache simulation

For enhanced modeling functionality: Project Properties > Analysis Target > Trip Counts and FLOP Analysis > Enable CPU cache simulation

Syntax

--enable-cache-simulation

--no-enable-cache-simulation

Default

Off (no-enable-cache-simulation)

Actions Modified

collect=map

collect=tripcounts

Usage

Cache simulation modeling applies to the following analyses:

  • Memory Access Patterns - This basic simulation functionality models accurate memory footprints, miss information, and cache line utilization for a downstream Memory Access Patterns report.

  • Trip Counts and FLOP - This enhanced simulation functionality models multiple levels of cache for a downstream GUI Roofline chart or Roofline interactive HTML report. To enable enhanced simulation functionality in a GUI Roofline chart: Set the ADVIXE-EXPERIMENTAL=int_roofline environment variable.

Enabling can increase collection overhead.

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.

$ advixe-cl --collect=map --enable-cache-simulation

See Also

For more complete information about compiler optimizations, see our Optimization Notice.