Skip to content

Commit 24ff23f

Browse files
[llvm-exegesis][Docs] Add documentation on benchmark-process-cpu option
This patch adds documentation on the benchmark-process-cpu option. I apparently did not add any documentation when originally implementing the feature.
1 parent 4b3d439 commit 24ff23f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

llvm/docs/CommandGuide/llvm-exegesis.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,14 @@ OPTIONS
473473
flag can be specified multiple times to measure multiple events. The maximum
474474
number of validation counters is platform dependent.
475475

476+
.. option:: --benchmark-process-cpu=<cpu id>
477+
478+
This option specifies the number of the CPU that should be used to run the
479+
benchmarking subprocess. When starting the subprocess,
480+
:program:`llvm-exegesis` will set the affinity of the subprocess to only
481+
include the specified CPU. This option only works in the subprocess execution
482+
mode.
483+
476484
EXIT STATUS
477485
-----------
478486

0 commit comments

Comments
 (0)