Home
last modified time | relevance | path

Searched refs:KeepRunning (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/libcxx/benchmarks/
H A DContainerBenchmarks.h44 while (st.KeepRunning()) { in BM_ConstructIterIter()
54 while (st.KeepRunning()) { in BM_InsertValue()
67 while (st.KeepRunning()) { in BM_InsertValueRehash()
85 while (st.KeepRunning()) { in BM_InsertDuplicate()
101 while (st.KeepRunning()) { in BM_EmplaceDuplicate()
115 while (st.KeepRunning()) { in BM_Find()
130 while (st.KeepRunning()) { in BM_FindRehash()
145 while (st.KeepRunning()) { in BM_Rehash()
H A Dfilesystem.bench.cpp17 while (st.KeepRunning()) { in BM_PathConstructString()
35 while (st.KeepRunning()) { in BM_PathConstructCStr()
57 while (st.KeepRunning()) { in BM_PathConstructIter()
85 while (st.KeepRunning()) { in BM_PathIterateMultipleTimes()
105 while (st.KeepRunning()) { in BM_PathIterateOnce()
125 while (st.KeepRunning()) { in BM_PathIterateOnceBackwards()
153 while (st.KeepRunning()) { in BM_LexicallyNormal()
H A Dutil_smartptr.bench.cpp14 while (st.KeepRunning()) { in BM_SharedPtrCreateDestroy()
24 while (st.KeepRunning()) { in BM_SharedPtrIncDecRef()
34 while (st.KeepRunning()) { in BM_WeakPtrIncDecRef()
H A Dallocation.bench.cpp67 while (st.KeepRunning()) { in BM_AllocateAndDeallocate()
80 while (st.KeepRunning()) { in BM_AllocateOnly()
107 while (st.KeepRunning()) { in BM_DeallocateOnly()
H A Dstringstream.bench.cpp35 while (state.KeepRunning()) in BM_Istream_numbers()
H A Dunordered_set_operations.bench.cpp138 while (st.KeepRunning()) { in BM_Hash()
/llvm-project-15.0.7/libcxx/test/libcxx/utilities/memory/util.smartptr/
H A Drace_condition.pass.cpp30 std::atomic_bool KeepRunning; variable
36 while (KeepRunning) { in operator ()()
51 KeepRunning = true; in run_test()
78 KeepRunning = false; in run_test()
/llvm-project-15.0.7/third-party/benchmark/test/
H A Dcxx03_test.cc16 while (state.KeepRunning()) { in BM_empty()
28 while (state.KeepRunning()) { in BM_old_arg_range_interface()
H A Dskip_with_error_test.cc72 while (state.KeepRunning()) { in BM_error_before_running()
99 while (state.KeepRunning()) { in BM_error_during_running()
157 while (state.KeepRunning()) { in BM_error_while_paused()
H A Dstate_assembly_test.cc47 while (S.KeepRunning()) { in test_while_loop()
H A Ddiagnostics_test.cc66 while (state.KeepRunning()) { in BM_diagnostic_test_keep_running()
H A Dbenchmark_test.cc218 while (state.KeepRunning()) { in BM_non_template_args()
240 while (st.KeepRunning()) { in BM_DenseThreadRanges()
H A Dbasic_test.cc102 while (state.KeepRunning()) { in BM_KeepRunning()
/llvm-project-15.0.7/third-party/benchmark/bindings/python/google_benchmark/
H A Dbenchmark.cc155 .def("__bool__", &State::KeepRunning) in PYBIND11_MODULE()
156 .def_property_readonly("keep_running", &State::KeepRunning) in PYBIND11_MODULE()
/llvm-project-15.0.7/third-party/benchmark/docs/
H A Duser_guide.md57 [A Faster KeepRunning Loop](#a-faster-keep-running-loop)
757 exits the benchmark loop. (This behavior is also provided by the `KeepRunning()`
1082 `KeepRunning()` are skipped. For the ranged-for version of the benchmark loop
1098 // KeepRunning() loop will not be entered.
1100 while (state.KeepRunning()) {
1128 ## A Faster KeepRunning Loop
1131 the `KeepRunning` loop for running the benchmarks. For example:
1142 The reason the ranged-for loop is faster than using `KeepRunning`, is
1143 because `KeepRunning` requires a memory load and store of the iteration count
1161 Compared to an empty `KeepRunning` loop, which looks like:
H A DAssemblyTests.md6 such as `KeepRunning`, for which generating good assembly is paramount.
/llvm-project-15.0.7/third-party/benchmark/include/benchmark/
H A Dbenchmark.h589 bool KeepRunning();
808 inline BENCHMARK_ALWAYS_INLINE bool State::KeepRunning() { in KeepRunning() function