Home
last modified time | relevance | path

Searched refs:StatisticsMean (Results 1 – 4 of 4) sorted by relevance

/third_party/benchmark/test/
Dstatistics_gtest.cc10 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/
Dstatistics.cc33 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()
Dstatistics.h34 double StatisticsMean(const std::vector<double>& v);
Dbenchmark_register.cc224 ComputeStatistics("mean", StatisticsMean); in Benchmark()