Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/unittests/tools/llvm-exegesis/
H A DClusteringTest.cpp34 Points[0].Measurements = { in TEST()
36 Points[3].Measurements = { in TEST()
39 Points[1].Measurements = { in TEST()
41 Points[4].Measurements = { in TEST()
44 Points[5].Measurements = { in TEST()
73 Points[0].Measurements = { in TEST()
113 Points[0].Measurements = { in TEST()
115 Points[1].Measurements = { in TEST()
117 Points[2].Measurements = { in TEST()
130 Points[0].Measurements = { in TEST()
[all …]
/llvm-project-15.0.7/libc/benchmarks/
H A DLibcMemoryBenchmarkMain.cpp131 std::vector<Duration> &Measurements) { in runTrials()
137 Measurements.push_back(Result.BestGuess); in runTrials()
138 reportProgress(Measurements); in runTrials()
151 const size_t TotalSteps = Measurements.capacity(); in reportProgress()
152 const size_t Steps = Measurements.size(); in reportProgress()
186 auto &Measurements = Study.Measurements; in run() local
187 Measurements.reserve(NumTrials * SweepMaxSize); in run()
190 runTrials(BO, Measurements); in run()
223 auto &Measurements = Study.Measurements; in run() local
224 Measurements.reserve(NumTrials); in run()
[all …]
H A Dlibc-benchmark-analysis.py347 Measurements = study["Measurements"]
51 assert NumTrials * NumSizes == len(Measurements), 'not a multiple of NumSizes'
54 df = pd.DataFrame(Measurements, index=Index, columns=[getLabel(study)])
56 df[getLabel(study)] = pd.Series(Measurements, index=Index)
81 local = pd.DataFrame(study["Measurements"], columns=["time"])
H A DJSONTest.cpp100 Field(&Study::Measurements, S.Measurements)); in equals()
H A DJSON.cpp232 O.map("Measurements", Out.Measurements); in fromJson()
315 if (!S.Measurements.empty()) { in serializeToJson()
317 for (const auto &M : S.Measurements) in serializeToJson()
H A DLibcMemoryBenchmark.h96 std::vector<Duration> Measurements; member
/llvm-project-15.0.7/llvm/unittests/tools/llvm-exegesis/Mips/
H A DBenchmarkResultTest.cpp72 ToDisk.Measurements.push_back(BenchmarkMeasure{"a", 1, 1}); in TEST_F()
73 ToDisk.Measurements.push_back(BenchmarkMeasure{"b", 2, 2}); in TEST_F()
95 EXPECT_THAT(FromDisk.Measurements, ToDisk.Measurements); in TEST_F()
112 EXPECT_THAT(FromDisk.Measurements, ToDisk.Measurements); in TEST_F()
/llvm-project-15.0.7/llvm/unittests/tools/llvm-exegesis/X86/
H A DBenchmarkResultTest.cpp75 ToDisk.Measurements.push_back(BenchmarkMeasure{"a", 1, 1}); in TEST()
76 ToDisk.Measurements.push_back(BenchmarkMeasure{"b", 2, 2}); in TEST()
100 EXPECT_THAT(FromDisk.Measurements, ToDisk.Measurements); in TEST()
117 EXPECT_THAT(FromDisk.Measurements, ToDisk.Measurements); in TEST()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/support/
H A DTestTracer.cpp20 Measurements[Metric.Name][Label].push_back(Value); in record()
26 auto LabelsIt = Measurements.find(Metric); in takeMetric()
27 if (LabelsIt == Measurements.end()) in takeMetric()
H A DTestTracer.h42 llvm::StringMap<llvm::StringMap<std::vector<double>>> Measurements; variable
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/
H A DClustering.cpp46 const auto &QMeasurements = Points_[Q].Measurements; in rangeQuery()
50 const auto &PMeasurements = Points_[P].Measurements; in rangeQuery()
68 ArrayRef<BenchmarkMeasure> Measurements = Points_[P].Measurements; in areAllNeighbours() local
69 if (Measurements.empty()) // Error point. in areAllNeighbours()
71 G.addPoint(Measurements); in areAllNeighbours()
83 const auto &PMeasurements = Points_[P].Measurements; in areAllNeighbours()
110 const auto *CurMeasurement = &Point.Measurements; in validateAndSetup()
H A DBenchmarkRunner.cpp157 IB->Measurements.clear(); in runConfiguration()
233 if (InstrBenchmark.Measurements.empty()) { in runConfiguration()
234 InstrBenchmark.Measurements = std::move(*NewMeasurements); in runConfiguration()
238 assert(Repetitors.size() > 1 && !InstrBenchmark.Measurements.empty() && in runConfiguration()
241 assert(InstrBenchmark.Measurements.size() == NewMeasurements->size() && in runConfiguration()
243 for (auto I : zip(InstrBenchmark.Measurements, *NewMeasurements)) { in runConfiguration()
H A DAnalysis.cpp147 for (const auto &Measurement : Point.Measurements) { in printInstructionRowCsv()
198 for (const auto &Measurement : Clustering_.getPoints().front().Measurements) { in run()
309 Points[Clusters[0].getPointIds()[0]].Measurements) { in printSchedClassClustersHtml()
350 Centroid.addPoint(Point.Measurements); in addPoint()
450 for (const auto &Measurement : Points[Cluster.PointIndices[0]].Measurements) { in printClusterRawHtml()
462 for (const auto &Measurement : Points[PointId].Measurements) { in printClusterRawHtml()
H A DBenchmarkResult.h73 std::vector<BenchmarkMeasure> Measurements; member
H A DBenchmarkResult.cpp320 Io.mapRequired("measurements", Obj.Measurements); in mapping()