duration

Specify the maximum amount of time (in seconds) an analysis runs.

GUI Equivalent

Project Properties > Analysis Target > [Analysis Type] > Advanced > Automatically stop collection after (sec)

Syntax

-d=<string>

--duration=<string>

Arguments

<string> is maximum number of seconds or unlimited.

Default

unlimited

Actions Modified

collect

Usage

The target application also stops executing when the analysis stops running.

Example

Stop a Survey analysis after 60 seconds.

$ advixe-cl --collect=survey --project-dir=./advi --duration=60
Optimization Notice: 
For more complete information about compiler optimizations, see our Optimization Notice.