resume-after

Resume collection after the specified number of milliseconds.

GUI Equivalent

Toolbar Command

Syntax

-resume-after <value>

Arguments

Argument
Description
<value>

The number of milliseconds that should elapse before data collection is resumed

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 milliseconds has elapsed.

Example

This example starts the sample.exe application in paused mode and resumes the Hotspots analysis in 50 milliseconds.

$ amplxe-cl -collect hotspots -resume-after 50 -- C:\test\sample.exe
For more complete information about compiler optimizations, see our Optimization Notice.