[NFC][llvm-exegesis] `BenchmarkRunner`: split `runConfiguration()` into `getRunnableC...
authorRoman Lebedev <lebedev.ri@gmail.com>
Sun, 18 Dec 2022 01:15:04 +0000 (04:15 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Sun, 18 Dec 2022 01:23:20 +0000 (04:23 +0300)
commit1dd4a6aac6498c6ebdcfcc3da0beb440e4650b20
tree5054eb721f23189baef8ae225564cac57ccb30f7
parenta5de49755cab6ccea9380f7f51a133d2e37cdc88
[NFC][llvm-exegesis] `BenchmarkRunner`: split `runConfiguration()` into `getRunnableConfiguration()` + `runConfiguration()`

We can run as many `getRunnableConfiguration()` in parallel as we want,
but `runConfiguration()` must be run *completely* standalone from everything.
This is a step towards enabling threading.
llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
llvm/tools/llvm-exegesis/lib/BenchmarkRunner.h
llvm/tools/llvm-exegesis/llvm-exegesis.cpp