Home
last modified time | relevance | path

Searched refs:max_iterations (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/third-party/benchmark/test/
H A Doptions_test.cc67 assert(state.max_iterations == 42); in BM_explicit_iteration_count()
70 assert(state.iterations() == state.max_iterations); in BM_explicit_iteration_count()
H A Dskip_with_error_test.cc121 assert(state.max_iterations > 3 && "test requires at least a few iterations"); in BM_error_during_running_ranged_for()
H A Dbasic_test.cc140 assert(iter_count == state.max_iterations); in BM_RangedFor()
/llvm-project-15.0.7/third-party/benchmark/src/
H A Dbenchmark.cc142 max_iterations(max_iters), in State()
153 BM_CHECK(max_iterations != 0) << "At least one iteration must be run"; in State()
231 total_iterations_ = error_occurred_ ? 0 : max_iterations; in StartKeepRunning()
H A Dbenchmark_runner.cc127 BM_CHECK(st.error_occurred() || st.iterations() >= st.max_iterations) in RunInThread()
/llvm-project-15.0.7/libcxx/benchmarks/
H A Dallocation.bench.cpp98 const auto NumAllocs = st.max_iterations; in BM_DeallocateOnly()
/llvm-project-15.0.7/third-party/benchmark/include/benchmark/
H A Dbenchmark.h755 return max_iterations - total_iterations_ + batch_leftover_; in iterations()
770 const IterationCount max_iterations;
859 : cached_(st->error_occurred_ ? 0 : st->max_iterations), parent_(st) {} in StateIterator()
/llvm-project-15.0.7/lldb/source/Target/
H A DRegisterContextUnwind.cpp2034 const unsigned max_iterations = 256; in ReadFrameAddress() local
2035 for (unsigned i = 0; i < max_iterations; ++i) { in ReadFrameAddress()