reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/tools/llvm-exegesis/X86/BenchmarkResultTest.cpp
  129   Stats.push(BenchmarkMeasure{"a", 0.5, 0.0});
  130   Stats.push(BenchmarkMeasure{"a", 1.5, 0.0});
  131   Stats.push(BenchmarkMeasure{"a", -1.0, 0.0});
  132   Stats.push(BenchmarkMeasure{"a", 0.0, 0.0});
  133   EXPECT_EQ(Stats.min(), -1.0);
  134   EXPECT_EQ(Stats.max(), 1.5);
  135   EXPECT_EQ(Stats.avg(), 0.25); // (0.5+1.5-1.0+0.0) / 4