[llvm] [llvm-exegesis] Add option to specify the number of measurement repetitions (PR #74276)

Clement Courbet via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 4 01:51:44 PST 2023


================
@@ -262,6 +262,12 @@ static cl::opt<BenchmarkRunner::ExecutionModeE> ExecutionMode(
                           "allows for the use of memory annotations")),
     cl::init(BenchmarkRunner::ExecutionModeE::InProcess));
 
+static cl::opt<unsigned>
+    BenchmarkRepeatCount("benchmark-repeat-count",
+                         cl::desc("The number of times to repeat the benchmark "
----------------
legrosbuffle wrote:

I would phrase this as "number of times to repeat measurements on the benchmark before aggregating the results", to make the difference with `-num-repetitions` clearer.

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


More information about the llvm-commits mailing list