benchmark 1.6.1
Loading...
Searching...
No Matches
benchmark::State Class Reference
Collaboration diagram for benchmark::State:

Classes

struct  StateIterator

Public Member Functions

BENCHMARK_ALWAYS_INLINE StateIterator begin ()
BENCHMARK_ALWAYS_INLINE StateIterator end ()
bool KeepRunning ()
bool KeepRunningBatch (IterationCount n)
void PauseTiming ()
void ResumeTiming ()
void SkipWithError (const char *msg)
bool error_occurred () const
void SetIterationTime (double seconds)
BENCHMARK_ALWAYS_INLINE void SetBytesProcessed (int64_t bytes)
BENCHMARK_ALWAYS_INLINE int64_t bytes_processed () const
BENCHMARK_ALWAYS_INLINE void SetComplexityN (int64_t complexity_n)
BENCHMARK_ALWAYS_INLINE int64_t complexity_length_n () const
BENCHMARK_ALWAYS_INLINE void SetItemsProcessed (int64_t items)
BENCHMARK_ALWAYS_INLINE int64_t items_processed () const
void SetLabel (const char *label)
void BENCHMARK_ALWAYS_INLINE SetLabel (const std::string &str)
BENCHMARK_ALWAYS_INLINE int64_t range (std::size_t pos=0) const
int64_t range_x () const
int64_t range_y () const
BENCHMARK_ALWAYS_INLINE int threads () const
BENCHMARK_ALWAYS_INLINE int thread_index () const
BENCHMARK_ALWAYS_INLINE IterationCount iterations () const

Public Attributes

const IterationCount max_iterations
UserCounters counters

Friends

struct StateIterator
class internal::BenchmarkInstance

The documentation for this class was generated from the following files: