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

Commit
1 year ago
[llvm-exegesis] Add support for pinning benchmarking process to a CPU (#85168) This patch adds in support for pinning a benchmarking process to a specific CPU (in the subprocess benchmarking mode on Linux). This is intended to be used in environments where a certain set of CPUs is isolated from the scheduler using something like cgroups and thus should present less potential for noise than normal. This also opens up the door for doing multithreaded benchmarking as we can now pin benchmarking processes to specific CPUs that we know won't interfere with each other.
Parents
Loading