Searched refs:StatisticsMean (Results 1 – 4 of 4) sorted by relevance
/third_party/benchmark/test/ |
D | statistics_gtest.cc | 10 EXPECT_DOUBLE_EQ(benchmark::StatisticsMean({42, 42, 42, 42}), 42.0); in TEST() 11 EXPECT_DOUBLE_EQ(benchmark::StatisticsMean({1, 2, 3, 4}), 2.5); in TEST() 12 EXPECT_DOUBLE_EQ(benchmark::StatisticsMean({1, 2, 5, 10, 10, 14}), 7.0); in TEST()
|
/third_party/benchmark/src/ |
D | statistics.cc | 33 double StatisticsMean(const std::vector<double>& v) { in StatisticsMean() function 39 if (v.size() < 3) return StatisticsMean(v); in StatisticsMedian() 68 const auto mean = StatisticsMean(v); in StatisticsStdDev() 82 const auto mean = StatisticsMean(v); in StatisticsCV()
|
D | statistics.h | 34 double StatisticsMean(const std::vector<double>& v);
|
D | benchmark_register.cc | 224 ComputeStatistics("mean", StatisticsMean); in Benchmark()
|