benchmark 1.9.2
 
Loading...
Searching...
No Matches
benchmark::Counter Class Reference

Public Types

enum  Flags {
  kDefaults = 0 , kIsRate = 1 << 0 , kAvgThreads = 1 << 1 , kAvgThreadsRate = kIsRate | kAvgThreads ,
  kIsIterationInvariant = 1 << 2 , kIsIterationInvariantRate = kIsRate | kIsIterationInvariant , kAvgIterations = 1 << 3 , kAvgIterationsRate = kIsRate | kAvgIterations ,
  kInvert = 1 << 31
}
 
enum  OneK { kIs1000 = 1000 , kIs1024 = 1024 }
 

Public Member Functions

BENCHMARK_ALWAYS_INLINE Counter (double v=0., Flags f=kDefaults, OneK k=kIs1000)
 
BENCHMARK_ALWAYS_INLINE operator double const & () const
 
BENCHMARK_ALWAYS_INLINE operator double & ()
 

Public Attributes

double value
 
Flags flags
 
OneK oneK
 

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