resume-after

Resume collection after the specified number of seconds.

GUI Equivalent

Configure Analysis window > WHAT pane > Advanced section > Automatically resume collection after option

Syntax

-resume-after <value>

Arguments

Argument
Description
<value>

The number of seconds that should elapse before data collection is resumed. Fractions of seconds are possible, for example: 1.56 for 1 sec 560 msec.

Default

OFF

Data collection started in the paused mode is not resumed unless this option is specified or the pause/resume API call in the target code is reached.

Actions Modified

collect

Description

Use the resume-after option with the start-paused option to automatically exit paused mode after the specified number of seconds has elapsed.

Example

This example starts a Linux* sample application in paused mode and resumes the Hotspots analysis in 5 seconds.

amplxe-cl -collect hotspots -resume-after 5 -- /home/test/sample
For more complete information about compiler optimizations, see our Optimization Notice.
Select sticky button color: 
Orange (only for download buttons)