File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
llvm/tools/llvm-exegesis/lib Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -193,12 +193,12 @@ template <> struct SequenceElementTraits<exegesis::BenchmarkMeasure> {
193
193
static const bool flow = false ;
194
194
};
195
195
196
-
197
196
template <>
198
197
struct CustomMappingTraits <std::map<exegesis::ValidationEvent, int64_t >> {
199
198
static void inputOne (IO &Io, StringRef KeyStr,
200
199
std::map<exegesis::ValidationEvent, int64_t > &VI) {
201
- Expected<exegesis::ValidationEvent> Key = exegesis::stringToValidationEvent (KeyStr);
200
+ Expected<exegesis::ValidationEvent> Key =
201
+ exegesis::stringToValidationEvent (KeyStr);
202
202
if (!Key) {
203
203
Io.setError (" Key is not a valid validation event" );
204
204
return ;
Original file line number Diff line number Diff line change @@ -94,7 +94,8 @@ Expected<std::vector<BenchmarkMeasure>> LatencyBenchmarkRunner::runMeasurements(
94
94
return ExpectedCounterValues.takeError ();
95
95
ValuesCount = ExpectedCounterValues.get ().size ();
96
96
if (ValuesCount == 1 ) {
97
- LLVM_DEBUG (dbgs () << " Latency value: " << ExpectedCounterValues.get ()[0 ] << " \n " );
97
+ LLVM_DEBUG (dbgs () << " Latency value: " << ExpectedCounterValues.get ()[0 ]
98
+ << " \n " );
98
99
AccumulatedValues.push_back (ExpectedCounterValues.get ()[0 ]);
99
100
} else {
100
101
// We'll keep the reading with lowest variance (ie., most stable)
You can’t perform that action at this time.
0 commit comments