[PATCH] D148085: [llvm-exegesis] Add subprocess benchmarking mode
Aiden Grossman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 12 02:15:58 PDT 2023
aidengrossman created this revision.
Herald added a subscriber: mstojanovic.
Herald added a project: All.
aidengrossman requested review of this revision.
Herald added subscribers: llvm-commits, courbet.
Herald added a project: LLVM.
This patch adds in a a new flag (--benchmark-subprocess) that enables
benchmarking within a subprocess. This is necessary for implementing the
plane described in our annotation RFC
(https://discourse.llvm.org/t/rfc-memory-annotations-for-llvm-exegesis/69554)
as we need to have a lot more control over the memory layout of the
execution environment than is possible by doing everything in a single
process.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D148085
Files:
llvm/test/tools/llvm-exegesis/X86/latency/Inputs/abnormal-exit-code.s
llvm/test/tools/llvm-exegesis/X86/latency/Inputs/base-snippet.s
llvm/test/tools/llvm-exegesis/X86/latency/Inputs/snippet-segfault.s
llvm/test/tools/llvm-exegesis/X86/latency/subprocess-abnormal-exit-code.test
llvm/test/tools/llvm-exegesis/X86/latency/subprocess-segfault.test
llvm/test/tools/llvm-exegesis/X86/latency/subprocess.test
llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148085.512703.patch
Type: text/x-patch
Size: 8823 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230412/525b11c4/attachment.bin>
More information about the llvm-commits
mailing list