Public Types | Public Member Functions | Public Attributes | List of all members
benchmark::Counter Class Reference

#include <benchmark.h>

Public Types

enum  Flags { kDefaults = 0, kIsRate = 1, kAvgThreads = 2, kAvgThreadsRate = kIsRate|kAvgThreads }
 

Public Member Functions

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

Public Attributes

Flags flags
 
double value
 

Detailed Description

Definition at line 337 of file benchmark.h.

Member Enumeration Documentation

◆ Flags

Enumerator
kDefaults 
kIsRate 
kAvgThreads 
kAvgThreadsRate 

Definition at line 340 of file benchmark.h.

Constructor & Destructor Documentation

◆ Counter()

BENCHMARK_ALWAYS_INLINE benchmark::Counter::Counter ( double  v = 0.,
Flags  f = kDefaults 
)
inline

Definition at line 356 of file benchmark.h.

Member Function Documentation

◆ operator double &()

BENCHMARK_ALWAYS_INLINE benchmark::Counter::operator double & ( )
inline

Definition at line 359 of file benchmark.h.

◆ operator double const &()

BENCHMARK_ALWAYS_INLINE benchmark::Counter::operator double const & ( ) const
inline

Definition at line 358 of file benchmark.h.

Member Data Documentation

◆ flags

Flags benchmark::Counter::flags

Definition at line 353 of file benchmark.h.

◆ value

double benchmark::Counter::value

Definition at line 352 of file benchmark.h.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:06