[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 00:49:07 PDT 2024


================
@@ -310,6 +321,29 @@ class SubProcessFunctionExecutorImpl
     }
 
     if (ParentOrChildPID == 0) {
+      if (BenchmarkProcessCPU) {
----------------
legrosbuffle wrote:

[nit] `BenchmarkProcessCPU.has_value()`

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


More information about the llvm-commits mailing list