Intel® VTune™ Amplifier
-cpu-mask=<cpu_mask1>,<cpu_mask3>-<cpu_mask5>... |
CPU number or a range of numbers.
This option specifies the CPU(s) for which data will be collected during hardware event-based sampling collection. Specify a list of comma-separated CPU IDs (with no spaces) and/or the range(s) of CPU IDs. A range is represented by a beginning and ending ID, separated by a dash.
This example collects samples on four CPUs (1, 3, 4, and 5) for the sample application.
$ amplxe-cl -collect advanced-hotspots -cpu-mask 1,3-5 -- home/test/sample