16#ifndef TOOLBOX_BM_CONTEXT
17#define TOOLBOX_BM_CONTEXT
40 explicit operator bool() const noexcept {
return !stop_; }
44 void stop() noexcept { stop_ =
true; }
48 std::atomic_bool stop_{
false};
Context & operator=(const Context &)=delete
Context(Context &&)=delete
Context(const Context &)=delete
BenchmarkRange range(int count) const noexcept
BenchmarkRange range(int first, int last) const noexcept
Context & operator=(Context &&)=delete