benchmark 1.9.2
 
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 SkipWithMessage (const std::string &msg)
 
void SkipWithError (const std::string &msg)
 
bool skipped () const
 
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 (ComplexityN complexity_n)
 
BENCHMARK_ALWAYS_INLINE ComplexityN complexity_length_n () const
 
BENCHMARK_ALWAYS_INLINE void SetItemsProcessed (int64_t items)
 
BENCHMARK_ALWAYS_INLINE int64_t items_processed () const
 
void SetLabel (const std::string &label)
 
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
 
BENCHMARK_ALWAYS_INLINE std::string name () 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: