#include "ResultAggregator.h"
namespace llvm {
namespace exegesis {
class DefaultResultAggregator : public ResultAggregator { … };
class MinimumResultAggregator : public ResultAggregator { … };
void MinimumResultAggregator::AggregateMeasurement(
BenchmarkMeasure &Measurement, const BenchmarkMeasure &NewMeasurement,
const Benchmark &Result) const { … }
class MiddleHalfResultAggregator : public ResultAggregator { … };
void MiddleHalfResultAggregator::AggregateMeasurement(
BenchmarkMeasure &Measurement, const BenchmarkMeasure &NewMeasurement,
const Benchmark &Result) const { … }
void ResultAggregator::AggregateResults(
Benchmark &Result, ArrayRef<Benchmark> OtherResults) const { … }
std::unique_ptr<ResultAggregator>
ResultAggregator::CreateAggregator(Benchmark::RepetitionModeE RepetitionMode) { … }
}
}