std::vector<InstructionBenchmark> InstrBenchmarks;
for (const BenchmarkCode &Conf : ConfigurationOrError.get())
- InstrBenchmarks.push_back(runConfiguration(Conf, Opcode, NumRepetitions));
+ InstrBenchmarks.push_back(runConfiguration(Conf, NumRepetitions));
return InstrBenchmarks;
}
}
InstructionBenchmark
-BenchmarkRunner::runConfiguration(const BenchmarkCode &BC, unsigned Opcode,
+BenchmarkRunner::runConfiguration(const BenchmarkCode &BC,
unsigned NumRepetitions) const {
InstructionBenchmark InstrBenchmark;
InstrBenchmark.Mode = Mode;