Intel® VTune™ Amplifier
Intel® VTune™ Amplifier offers different ways to pause the collection process, to resume a paused collection, or to stop a running collect process from the command line.
Start collection in the paused mode, and then automatically resume collection
To start data collection in the paused mode, use the start-paused action option.
amplxe-cl -collect <analysis_type> -start-paused [--] <target>
Resume a paused collection
There are two ways to resume a paused collection.
To resume collection automatically after a specified amount of time, use the resume-after option.
amplxe-cl -collect <analysis_type> -start-paused -resume-after=<value> [--] <target>
To resume collection manually, use the command action with the resume argument.
amplxe-cl -command resume
where
<value> is the time of delay in milliseconds
<analysis_type> is the type of analysis to run
<target> is the target to analyze
This example starts the Hotspots analysis of the sample application in the paused mode, and then resumes collection after a 50 millisecond pause.
$ amplxe-cl -start-paused -resume-after 50 -collect hs -- home/test/sample
This example starts the Hotspots analysis of the sample application in the paused mode.
$ amplxe-cl -collect hotspots -start-paused -- home/test/sample