Home
last modified time | relevance | path

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

/third_party/benchmark/src/
Dbenchmark.cc145 error_occurred_(false), in State()
172 static_assert(offsetof(State, error_occurred_) <= in State()
173 (cache_line_size - sizeof(error_occurred_)), in State()
184 BM_CHECK(started_ && !finished_ && !error_occurred_); in PauseTiming()
198 BM_CHECK(started_ && !finished_ && !error_occurred_); in ResumeTiming()
207 error_occurred_ = true; in SkipWithError()
231 total_iterations_ = error_occurred_ ? 0 : max_iterations; in StartKeepRunning()
233 if (!error_occurred_) ResumeTiming(); in StartKeepRunning()
237 BM_CHECK(started_ && (!finished_ || error_occurred_)); in FinishKeepRunning()
238 if (!error_occurred_) { in FinishKeepRunning()
/third_party/json/benchmarks/thirdparty/benchmark/src/
Dbenchmark.cc301 error_occurred_(false), in State()
326 static_assert(offsetof(State, error_occurred_) <= in State()
327 (cache_line_size - sizeof(error_occurred_)), ""); in State()
335 CHECK(started_ && !finished_ && !error_occurred_); in PauseTiming()
340 CHECK(started_ && !finished_ && !error_occurred_); in ResumeTiming()
346 error_occurred_ = true; in SkipWithError()
370 total_iterations_ = error_occurred_ ? 0 : max_iterations; in StartKeepRunning()
372 if (!error_occurred_) ResumeTiming(); in StartKeepRunning()
376 CHECK(started_ && (!finished_ || error_occurred_)); in FinishKeepRunning()
377 if (!error_occurred_) { in FinishKeepRunning()
/third_party/benchmark/include/benchmark/
Dbenchmark.h652 bool error_occurred() const { return error_occurred_; } in error_occurred()
775 bool error_occurred_; variable
829 if (!error_occurred_ && total_iterations_ >= n) { in KeepRunningInternal()
859 : cached_(st->error_occurred_ ? 0 : st->max_iterations), parent_(st) {} in StateIterator()
/third_party/json/benchmarks/thirdparty/benchmark/include/benchmark/
Dbenchmark.h601 bool error_occurred_; variable
659 if (!error_occurred_ && total_iterations_ >= n) { in KeepRunningInternal()
689 : cached_(st->error_occurred_ ? 0 : st->max_iterations), parent_(st) {} in StateIterator()