trip-counts
trip-counts
Collect loop trip counts data during
Trip Counts & FLOP analysis.
GUI Equivalent
> Analysis Target
> Trip Counts and FLOP
Analysis
> Collect
information about loop trip counts
Syntax
--trip-counts
--no-trip-counts
Default
On (trip-counts)
Actions Modified
collect
=tripcounts
Usage
Use the option, which allows you to dynamically identify
the number of times loops are invoked and executed, to:
- Detect loops with too-small trip counts and trip counts that are not a multiple of vector length.
- Analyze parallelism granularity more deeply.
Disabling can decrease analysis overhead.
Example
Run a Trip Counts & FLOP analysis. Collect trip
counts, FLOP, and call stack data.
$ advisor --collect=tripcounts --flop --stacks --project-dir=./advi -- ./bin/myApplication
Run a Trip Counts & FLOP analysis. Collect only
FLOP data.
$ advisor --collect=tripcounts --no-trip-counts --project-dir=./advi --search-dir src:=./src -- ./bin/myApplication