llvm/llvm/tools/llvm-exegesis/lib/ResultAggregator.cpp

//===-- ResultAggregator.cpp ------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#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) {}

} // namespace exegesis
} // namespace llvm