Home
last modified time | relevance | path

Searched refs:BenchmarkMeasure (Results 1 – 15 of 15) sorted by relevance

/external/llvm-project/llvm/tools/llvm-exegesis/lib/
DLatencyBenchmarkRunner.cpp66 Expected<std::vector<BenchmarkMeasure>> LatencyBenchmarkRunner::runMeasurements( in runMeasurements()
111 std::vector<BenchmarkMeasure> Result; in runMeasurements()
114 Result.push_back(BenchmarkMeasure::Create(ModeName, Value)); in runMeasurements()
118 std::vector<BenchmarkMeasure> Result; in runMeasurements()
120 BenchmarkMeasure::Create(ModeName, findMin(AccumulatedValues))); in runMeasurements()
124 std::vector<BenchmarkMeasure> Result; in runMeasurements()
126 BenchmarkMeasure::Create(ModeName, findMax(AccumulatedValues))); in runMeasurements()
130 std::vector<BenchmarkMeasure> Result; in runMeasurements()
132 BenchmarkMeasure::Create(ModeName, findMean(AccumulatedValues))); in runMeasurements()
DUopsBenchmarkRunner.cpp18 Expected<std::vector<BenchmarkMeasure>>
20 std::vector<BenchmarkMeasure> Result; in runMeasurements()
31 Result.push_back(BenchmarkMeasure::Create(IssueCounter->ProcResName, in runMeasurements()
40 BenchmarkMeasure::Create("NumMicroOps", *ExpectedCounterValue)); in runMeasurements()
DBenchmarkResult.h45 struct BenchmarkMeasure { struct
47 static BenchmarkMeasure Create(std::string Key, double Value) { in Create() argument
73 std::vector<BenchmarkMeasure> Measurements; argument
100 void push(const BenchmarkMeasure &BM);
DClustering.h110 bool isNeighbour(const std::vector<BenchmarkMeasure> &P, in isNeighbour()
111 const std::vector<BenchmarkMeasure> &Q, in isNeighbour()
155 std::vector<BenchmarkMeasure> getAsPoint() const;
157 void addPoint(ArrayRef<BenchmarkMeasure> Point);
DSchedClassResolution.cpp260 std::vector<BenchmarkMeasure> ResolvedSchedClass::getAsPoint( in getAsPoint()
265 std::vector<BenchmarkMeasure> SchedClassPoint(NumMeasurements); in getAsPoint()
269 BenchmarkMeasure &LatencyMeasure = SchedClassPoint[0]; in getAsPoint()
282 BenchmarkMeasure &Measure = std::get<0>(I); in getAsPoint()
309 BenchmarkMeasure &RThroughputMeasure = SchedClassPoint[0]; in getAsPoint()
DClustering.cpp66 ArrayRef<BenchmarkMeasure> Measurements = Points_[P].Measurements; in areAllNeighbours()
71 const std::vector<BenchmarkMeasure> Centroid = G.getAsPoint(); in areAllNeighbours()
100 const std::vector<BenchmarkMeasure> *LastMeasurement = nullptr; in validateAndSetup()
345 void SchedClassClusterCentroid::addPoint(ArrayRef<BenchmarkMeasure> Point) { in addPoint()
355 std::vector<BenchmarkMeasure> SchedClassClusterCentroid::getAsPoint() const { in getAsPoint()
356 std::vector<BenchmarkMeasure> ClusterCenterPoint(Representative.size()); in getAsPoint()
DBenchmarkRunner.cpp226 for (BenchmarkMeasure &BM : *NewMeasurements) { in runConfiguration()
244 BenchmarkMeasure &Measurement = std::get<0>(I); in runConfiguration()
245 BenchmarkMeasure &NewMeasurement = std::get<1>(I); in runConfiguration()
DUopsBenchmarkRunner.h31 Expected<std::vector<BenchmarkMeasure>>
DLatencyBenchmarkRunner.h30 Expected<std::vector<BenchmarkMeasure>>
DBenchmarkResult.cpp214 template <> struct SequenceElementTraits<exegesis::BenchmarkMeasure> {
220 template <> struct MappingTraits<exegesis::BenchmarkMeasure> {
221 static void mapping(IO &Io, exegesis::BenchmarkMeasure &Obj) { in mapping()
415 void PerInstructionStats::push(const BenchmarkMeasure &BM) { in push()
DSchedClassResolution.h47 std::vector<BenchmarkMeasure>
DBenchmarkRunner.h81 virtual Expected<std::vector<BenchmarkMeasure>>
DAnalysis.cpp357 const std::vector<BenchmarkMeasure> ClusterCenterPoint = in measurementsMatch()
360 const std::vector<BenchmarkMeasure> SchedClassPoint = in measurementsMatch()
/external/llvm-project/llvm/unittests/tools/llvm-exegesis/Mips/
DBenchmarkResultTest.cpp34 bool operator==(const BenchmarkMeasure &A, const BenchmarkMeasure &B) { in operator ==()
77 ToDisk.Measurements.push_back(BenchmarkMeasure{"a", 1, 1}); in TEST_F()
78 ToDisk.Measurements.push_back(BenchmarkMeasure{"b", 2, 2}); in TEST_F()
125 Stats.push(BenchmarkMeasure{"a", 0.5, 0.0}); in TEST_F()
126 Stats.push(BenchmarkMeasure{"a", 1.5, 0.0}); in TEST_F()
127 Stats.push(BenchmarkMeasure{"a", -1.0, 0.0}); in TEST_F()
128 Stats.push(BenchmarkMeasure{"a", 0.0, 0.0}); in TEST_F()
/external/llvm-project/llvm/unittests/tools/llvm-exegesis/X86/
DBenchmarkResultTest.cpp30 bool operator==(const BenchmarkMeasure &A, const BenchmarkMeasure &B) { in operator ==()
79 ToDisk.Measurements.push_back(BenchmarkMeasure{"a", 1, 1}); in TEST()
80 ToDisk.Measurements.push_back(BenchmarkMeasure{"b", 2, 2}); in TEST()
129 Stats.push(BenchmarkMeasure{"a", 0.5, 0.0}); in TEST()
130 Stats.push(BenchmarkMeasure{"a", 1.5, 0.0}); in TEST()
131 Stats.push(BenchmarkMeasure{"a", -1.0, 0.0}); in TEST()
132 Stats.push(BenchmarkMeasure{"a", 0.0, 0.0}); in TEST()