Intel® VTune™ Amplifier XE and Intel® VTune™ Amplifier for Systems Help
Specify the duration for collection (in seconds).
-duration=<value> |
unlimited |
Collection duration is unbounded. |
<seconds> |
The duration in seconds. |
The duration option is required for system-wide collection, and specifies the duration for collection (in seconds). System-wide collection occurs when the target is not specified on the command line when collection is initiated. It also can be used with when the target is specified, but you want to set a specific duration for data collection.
This command performs system-wide collection of Advanced Hotspots for 20 seconds.
$ amplxe-cl -collect advanced-hotspots -duration=20
In this example, the sample target is specified for a Concurrency analysis, but collection is limited to 60 seconds in duration.
$ amplxe-cl -collect concurrency -duration=60 -- home/test/sample