Home
last modified time | relevance | path

Searched refs:kIsRate (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/third-party/benchmark/test/
H A Duser_counters_test.cc124 state.counters["foo"] = bm::Counter{1, bm::Counter::kIsRate}; in BM_Counters_Rate()
125 state.counters["bar"] = bm::Counter{2, bm::Counter::kIsRate}; in BM_Counters_Rate()
209 bm::Counter{1, bm::Counter::kIsRate | bm::Counter::kInvert}; in BM_Counters_InvertedRate()
211 bm::Counter{8192, bm::Counter::kIsRate | bm::Counter::kInvert}; in BM_Counters_InvertedRate()
426 bm::Counter{2, bm::Counter::kIsRate | bm::Counter::kIsIterationInvariant}; in BM_Counters_kIsIterationInvariantRate()
516 bm::Counter{2, bm::Counter::kIsRate | bm::Counter::kAvgIterations}; in BM_Counters_kAvgIterationsRate()
H A Dinternal_threading_test.cc43 benchmark::Counter{1, benchmark::Counter::kIsRate}; in BM_MainThread()
86 benchmark::Counter{1, benchmark::Counter::kIsRate}; in BM_WorkerThread()
130 benchmark::Counter{1, benchmark::Counter::kIsRate}; in BM_MainThreadAndWorkerThread()
/llvm-project-15.0.7/third-party/benchmark/bindings/python/google_benchmark/
H A Dexample.py86 state.counters["foo_rate"] = Counter(num_foo, Counter.kIsRate)
88 state.counters["foo_inv_rate"] = Counter(num_foo, Counter.kIsRate | Counter.kInvert)
H A Dbenchmark.cc123 .value("kIsRate", Counter::Flags::kIsRate) in PYBIND11_MODULE()
/llvm-project-15.0.7/third-party/benchmark/src/
H A Dcounter.cc23 if (c.flags & Counter::kIsRate) { in Finish()
H A Dconsole_reporter.cc172 if (c.second.flags & Counter::kIsRate) in PrintRunData()
/llvm-project-15.0.7/third-party/benchmark/include/benchmark/
H A Dbenchmark.h456 kIsRate = 1 << 0, enumerator
461 kAvgThreadsRate = kIsRate | kAvgThreads,
468 kIsIterationInvariantRate = kIsRate | kIsIterationInvariant,
473 kAvgIterationsRate = kIsRate | kAvgIterations,
671 Counter(static_cast<double>(bytes), Counter::kIsRate, Counter::kIs1024); in SetBytesProcessed()
701 Counter(static_cast<double>(items), benchmark::Counter::kIsRate); in SetItemsProcessed()
/llvm-project-15.0.7/libc/benchmarks/
H A DLibcMemoryGoogleBenchmarkMain.cpp59 benchmark::Counter::kIsRate); in ~Runner()
/llvm-project-15.0.7/third-party/benchmark/docs/
H A Duser_guide.md650 state.counters["FooRate"] = Counter(numFoos, benchmark::Counter::kIsRate);
655 …state.counters["FooInvRate"] = Counter(numFoos, benchmark::Counter::kIsRate | benchmark::Counter::…