Searched refs:KeepRunning (Results 1 – 17 of 17) sorted by relevance
44 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()
17 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()
14 while (st.KeepRunning()) { in BM_SharedPtrCreateDestroy()24 while (st.KeepRunning()) { in BM_SharedPtrIncDecRef()34 while (st.KeepRunning()) { in BM_WeakPtrIncDecRef()
67 while (st.KeepRunning()) { in BM_AllocateAndDeallocate()80 while (st.KeepRunning()) { in BM_AllocateOnly()107 while (st.KeepRunning()) { in BM_DeallocateOnly()
35 while (state.KeepRunning()) in BM_Istream_numbers()
138 while (st.KeepRunning()) { in BM_Hash()
30 std::atomic_bool KeepRunning; variable36 while (KeepRunning) { in operator ()()51 KeepRunning = true; in run_test()78 KeepRunning = false; in run_test()
16 while (state.KeepRunning()) { in BM_empty()28 while (state.KeepRunning()) { in BM_old_arg_range_interface()
72 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()
47 while (S.KeepRunning()) { in test_while_loop()
66 while (state.KeepRunning()) { in BM_diagnostic_test_keep_running()
218 while (state.KeepRunning()) { in BM_non_template_args()240 while (st.KeepRunning()) { in BM_DenseThreadRanges()
102 while (state.KeepRunning()) { in BM_KeepRunning()
155 .def("__bool__", &State::KeepRunning) in PYBIND11_MODULE()156 .def_property_readonly("keep_running", &State::KeepRunning) in PYBIND11_MODULE()
57 [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 loop1098 // KeepRunning() loop will not be entered.1100 while (state.KeepRunning()) {1128 ## A Faster KeepRunning Loop1131 the `KeepRunning` loop for running the benchmarks. For example:1142 The reason the ranged-for loop is faster than using `KeepRunning`, is1143 because `KeepRunning` requires a memory load and store of the iteration count1161 Compared to an empty `KeepRunning` loop, which looks like:
6 such as `KeepRunning`, for which generating good assembly is paramount.
589 bool KeepRunning();808 inline BENCHMARK_ALWAYS_INLINE bool State::KeepRunning() { in KeepRunning() function