Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libc/benchmarks/
H A DLibcBenchmark.h47 enum class BenchmarkLog { enum
75 BenchmarkLog Log = BenchmarkLog::None;
205 if (Options.Log != BenchmarkLog::None)
238 auto &BenchmarkLog = *Result.MaybeBenchmarkLog; variable
239 if (Options.Log == BenchmarkLog::Last && !BenchmarkLog.empty())
240 BenchmarkLog.pop_back();
247 BenchmarkLog.push_back(BS);
H A DJSON.cpp101 libc_benchmarks::BenchmarkLog &Out) { in fromJson()
107 llvm::StringSwitch<Optional<libc_benchmarks::BenchmarkLog>>(String) in fromJson()
108 .Case("None", libc_benchmarks::BenchmarkLog::None) in fromJson()
109 .Case("Last", libc_benchmarks::BenchmarkLog::Last) in fromJson()
110 .Case("Full", libc_benchmarks::BenchmarkLog::Full) in fromJson()
250 static StringRef serialize(const BenchmarkLog &L) { in serialize()
252 case BenchmarkLog::None: in serialize()
254 case BenchmarkLog::Last: in serialize()
256 case BenchmarkLog::Full: in serialize()
H A DLibcBenchmarkTest.cpp53 void SetUp() override { Options.Log = BenchmarkLog::Full; } in SetUp()
H A DJSONTest.cpp34 10, 100, 6, 100, 0.1, 2, BenchmarkLog::Full}}, in getStudy()