count-memory-objects-accesses
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 thefulldata transfer withcollect=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 thebasic data transfer analysisanddata-reuse-analysiswithcollect=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:
- Run the Survey analysis.
- Run Trip Counts and FLOP analyses of the Characterization stage with the full data transfer analysis.
- 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