Intel® Advisor User Guide

ID 766448
Date 12/16/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

count-memory-objects-accesses

Count the number of accesses to memory objects created by code regions.

Syntax

--count-memory-objects-accesses

--no-count-memory-objects-accesses

Default

Off (no-count-memory-objects-accesses)

Actions Modified

collect=projection --data-reuse-analysis

Usage

Use as one of the following:

  • Use the full data transfer with collect=tripcounts:

    advisor --collect=tripcounts --flop --data-transfer=full --project-dir=<project-dir> -- <target-application>

    advisor --collect=projection --data-reuse-analysis --count-memory-objects-accesses --project-dir=<project-dir>

  • Enable the basic data transfer analysis and data-reuse-analysis with collect=tripcounts:

    advisor --collect=tripcounts --flop --enable-data-transfer-analysis--data-reuse-analysis --project-dir=<project-dir> -- <target-application>

    advisor --collect=projection --data-reuse-analysis --count-memory-objects-accesses --project-dir=<project-dir>

Example

With the full data transfer analysis:

  1. Run the Survey analysis.

  2. Run Trip Counts and FLOP analyses of the Characterization stage with the full data transfer analysis.

  3. Analyze data reuse and count the number of accesses to memory objects when modeling your application performance.

advisor --collect=survey --static-instruction-mix --project-dir=./advi_results -- ./myApplication
advisor --collect=tripcounts --flop --data-transfer=full --project-dir=./advi_results -- ./myApplication
advisor --collect=projection --data-reuse-analysis --count-memory-objects-accesses --project-dir=./advi_results

See Also