User Guide

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 --stackwalk-mode=online --static-instruction-mix --project-dir=./advi -- myApplication
$ advisor --collect=tripcounts --flop --data-transfer=full --project-dir=./advi -- myApplication
$ advisor --collect=projection --data-reuse-analysis --count-memory-objects-accesses --project-dir=./advi

Product and Performance Information

1

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