mark-up-list
mark-up-list
After running a Survey analysis and
identifying loops of interest, select loops (by file and line number or ID) for
deeper analysis.
GUI Equivalent
Syntax
--mark-up-list
=
<string>
Arguments
<string>
is a comma-separated
list (no spaces) of loop IDs, file/line numbers in the format
file1:line1
, or both.
Default
The existing selection in
,
which is persistent.
If there is no GUI selection:
- For Trip Counts & FLOP and Roofline analyses: all loops
- loopsdefault
- For Memory Access Patterns analysis:"loop-height=0,total-time>0.1"
- For Dependencies analysis:"scalar,loop-height=0,total-time>0.1"
Usage
Do not confuse the
checkbox; therefore loop selection persists beyond the duration of the
checkbox; therefore loop selection persists only for the duration of the
mark-up-loops
action with the
mark-up-list
action option. The
mark-up-loops
action coupled with the
select
action option enables a GUI

mark-up-loops
action and applies to downstream analyses, such as Dependencies and Memory Access Patterns analyses. The
collect
action coupled with the
mark-up-list
action option simulates enabling a GUI

collect
action.
Example
- Run a Survey analysis.
- Run a Trip Counts & FLOP analysis on Survey analysis loops 1 and 3; and source locationmy_source.cpp:132.
advisor --collect=survey --project-dir=./advi_results -- ./myApplication
advisor --collect=tripcounts --mark-up-list=1,my_source.cpp:132,3 --search-dir src:=./src --project-dir=./advi_results -- ./myApplication