append
append
Add loops (by file and line number)
to the loops selected for deeper analysis.
GUI Equivalent
Syntax
--append
=
<string>
Arguments
<string>
is a comma-separated
list of files/line numbers in the following format: file1:line1.
Default
No default argument
Actions Modified
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.
- Select a loop for deeper analysis.
- Addbar.cpp:192to the selection list.
- Run a Dependencies analysis on both loops.
advisor --collect=survey --project-dir=./advi_results -- ./bin/myApplication
advisor --mark-up-loops --select=foo.cpp:34 --project-dir=./advi_results -- ./bin/myApplication
advisor --mark-up-loops --append=bar.cpp:192 --project-dir=./advi_results -- ./bin/myApplication
advisor --collect=dependencies --project-dir=./advi_results -- ./bin/myApplication