Here is a list of all command line options.
| Option | Description |
|---|---|
-h
|
Displays this help information on the console/terminal. |
-m <metric,...>
|
Metrics to report. The supported metric groups and the corresponding
metrics are Platform, OS, and Hypervisor specific. Run Core
L3
DF Metrics
|
-c
<core|ccx|l3|numa|package>=<n>
|
Collect from the specified core | ccx | ccd | package. The default is 'core=0'. If 'ccx' or 'l3' is
specified:
If 'package' is specified:
If 'numa' is specified:
|
-a
|
Collect from all the cores. Note: Options
-c and -a cannot be used
together. |
-C
|
Prints the cumulative data at the end of the profile duration. Else, all the samples will be reported as timeseries data. |
-A <system,package,ccd,ccx,core>
|
Prints aggregated metrics at various component levels. The following granularities are supported:
Note: Option
-a should be
used along with this option to collect samples from all the
cores.Note: Comma separated list of components can
be specified.
|
-I <ms>
|
Print the metrics at regular intervals. By default, it is enabled with an interval of 1000 ms. |
-i <config file>
|
User defined XML config file that specifies Core|L3|DF counters to
monitor. Refer sample files in the
<install-dir>/bin/Data/Config/ directory
for the format.Note:
|
-d <seconds>
|
Profile duration to run. |
-t <multiplex interval in
ms>
|
The interval in which pmc count values will be read, the minimum is 100 ms. |
-o <output file>
|
The output file name, it is in CSV format. |
-P <n>
|
Sets precision of the metrics reported, the default value is 2. |
-q
|
Hide CPU topology section in the output report. |
-r
|
Force resets the MSRs. |
-k
|
Prefixes 'pkg' in package level counters. |
-s
|
Displays time stamp in the time series report. |
-l
|
Lists the supported raw PMC events. |
-z <pmc-event>
|
Prints the name, description, and available unit masks for the event. |
-w <dir>
|
Specifies the working directory. The default will be the path of the launched application. |
-n
|
Print cpu topology. |
-v
|
Print version. |
-X
|
Collect data using perf subsystem without root privileges. This option is enabled by default and will be deprecated soon. Note: This is only supported on Linux.
|
-p <process ID>
|
Specify the target process ID to monitor. Note: This is only supported with the option
-X on Linux. |
-f <util:<n>>
|
Filter the roofline data based on the utilization. For example,
Note: This is applicable only with the roofline
command.
|
--html
|
Collect data and generate HTML report. |
--msr
|
Collect data using MSR mode. Requires root privilege. |
--percentile
|
Generate custom percentile in html report. Default is 95th Percentile. |
--collect-xgmi
|
Collect xgmi data. |
--collect-pcie
|
Collect pcie data. |
--collect-power
|
Collect power data. |
--per-core
|
Prints metrics at core level (no aggregation). |
--per-die
|
Prints aggregated metrics at die level. |
--per-socket
|
Prints aggregated metrics at socket level. |
--report-roofline
|
Report roofline data under the 'profile' command. |
--no-aggr
|
Prints non-aggregated metrics data:
|
--collect-clk
|
Collect clock data. |
--collect-guest
|
Count only the guest events.
Note: This is
applicable only in the host when hypervisor is
enabled.
|
--collect-host
|
Count only the host events. (Default behavior is to collect host
and guest data). Note: This is applicable only
in the host when hypervisor is enabled.
|
--read-smbios
|
Read memory speed and total memory channels from SMBIOS. Applicable only for roofline command. |
--show-used-ccx
|
Show only the CCXs where the target application ran in the heatmap's L3 Cache section in the html report. Not applicable with |
-O <output dir path>
|
Path to create the output directory. |