[llvm] [llvm-exegesis] Add support for pinning benchmarking process to a CPU (PR #85168)

Clement Courbet via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 18 23:20:18 PDT 2024


================
@@ -98,21 +98,24 @@ class InProcessFunctionExecutorImpl : public BenchmarkRunner::FunctionExecutor {
 public:
   static Expected<std::unique_ptr<InProcessFunctionExecutorImpl>>
   create(const LLVMState &State, object::OwningBinary<object::ObjectFile> Obj,
-         BenchmarkRunner::ScratchSpace *Scratch) {
+         BenchmarkRunner::ScratchSpace *Scratch,
+         std::optional<int> BenchmarkProcessCPU) {
----------------
legrosbuffle wrote:

you can remove this now

https://github.com/llvm/llvm-project/pull/85168


More information about the llvm-commits mailing list