Set the maximum number of instances to analyze for all marked loops.

GUI Equivalent

Project Properties > Analysis Target > [Analysis Type] > Advanced > Loop Call Count Limit

Syntax

--loop-call-count-limit=<integer>

Arguments

Argument

Description

0

Analyze all instances of all marked loops.

<integer>

Analyze up to n number of instances for all marked loops.

Default

0 (analyze all instances of all marked loops)

Actions Modified

collect=dependencies

collect=map

Usage

Assumes similar runtime properties, such as the same memory access patterns, over different call instances. If this is not true, using this option may produce skewed results.

A smaller, non-zero value can minimize collection overhead.

Example

Run a Memory Access Patterns analysis. Limit analysis to the first ten invocations of marked loops.

$ advixe-cl --collect=map --loop-call-count-limit=10 --project-dir=./new-advi -- ./bin/myApplication
有关编译器优化的更完整信息,请参阅优化通知