[PATCH] D147842: [Docs][llvm-exegesis] Add documentation for --use-dummy-perf-counters
Aiden Grossman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 10 12:09:58 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rGc19bc611bdea: [Docs][llvm-exegesis] Add documentation for --use-dummy-perf-counters (authored by aidengrossman).
Changed prior to commit:
https://reviews.llvm.org/D147842?vs=511859&id=512213#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147842/new/
https://reviews.llvm.org/D147842
Files:
llvm/docs/CommandGuide/llvm-exegesis.rst
Index: llvm/docs/CommandGuide/llvm-exegesis.rst
===================================================================
--- llvm/docs/CommandGuide/llvm-exegesis.rst
+++ llvm/docs/CommandGuide/llvm-exegesis.rst
@@ -362,6 +362,13 @@
If set, llvm-exegesis will dump the generated code to a temporary file to
enable code inspection. Disabled by default.
+.. option:: --use-dummy-perf-counters
+
+ If set, llvm-exegesis will not read any real performance counters and
+ return a dummy value instead. This can be used to ensure a snippet doesn't
+ crash when hardware performance counters are unavailable and for
+ debugging :program:`llvm-exegesis` itself.
+
EXIT STATUS
-----------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147842.512213.patch
Type: text/x-patch
Size: 685 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230410/46b88778/attachment.bin>
More information about the llvm-commits
mailing list