llvm/third-party/benchmark/src/statistics.cc

// Copyright 2016 Ismael Jimenez Martinez. All rights reserved.
// Copyright 2017 Roman Lebedev. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#include "statistics.h"

#include <algorithm>
#include <cmath>
#include <numeric>
#include <string>
#include <vector>

#include "benchmark/benchmark.h"
#include "check.h"

namespace benchmark {

auto StatisticsSum =;

double StatisticsMean(const std::vector<double>& v) {}

double StatisticsMedian(const std::vector<double>& v) {}

// Return the sum of the squares of this sample set
auto SumSquares =;

auto Sqr =;
auto Sqrt =;

double StatisticsStdDev(const std::vector<double>& v) {}

double StatisticsCV(const std::vector<double>& v) {}

std::vector<BenchmarkReporter::Run> ComputeStats(
    const std::vector<BenchmarkReporter::Run>& reports) {}

}  // end namespace benchmark