Visible to Intel only — GUID: GUID-CC40F51A-FAC7-4212-B6F9-990E5699DF71
Visible to Intel only — GUID: GUID-CC40F51A-FAC7-4212-B6F9-990E5699DF71
<span class='option'>cpu-mask</span>
Specify CPU(s) for a collect or collect-with action.
Configure Analysis window > WHAT pane > Advanced section > CPU mask option
-cpu-mask=<cpu_mask1>,<cpu_mask3>-<cpu_mask5>... |
CPU number or a range of numbers.
- ALL
-
The hardware event-based sampling collector collects data on all CPUs in the system.
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 a Linux sample application.
vtune -collect hotspots -knob sampling-mode=hw -cpu-mask 1,3-5 -- /home/test/sample
Did you find the information on this page useful?
Feedback Message
Characters remaining: