Remove loops (by file and line number) from the loops selected for deeper analysis.

GUI Equivalent

Survey >

Syntax

--remove=<string>

Arguments

<string> is a comma-separated list of files/line numbers in the following format: file1:line1

Default

No default string

Actions Modified

mark-up-loops

Usage

Removing loops that are not of interest can decrease collection overhead.

Do not confuse 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 checkbox; therefore loop selection persists beyond the duration of the 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 checkbox; therefore loop selection persists only for the duration of the collect action.

Example

  1. Select two loops for deeper analysis.

  2. Remove one loop from the selection list.

$ advixe-cl --mark-up-loops --select=foo.cpp:34,bar.cpp:192 --project-dir=./myAdvisorProj -- ./bin/myTargetApplication
$ advixe-cl --mark-up-loops --remove=bar.cpp:192 --project-dir=./myAdvisorProj -- ./bin/myTargetApplication
有关编译器优化的更完整信息,请参阅优化通知