Classes | Typedefs | Enumerations | Functions | Variables
benchmark::internal Namespace Reference

Classes

class  Benchmark
 
class  BenchmarkFamilies
 
class  CheckHandler
 
class  FunctionBenchmark
 
class  LogType
 
class  ThreadManager
 
class  ThreadTimer
 

Typedefs

typedef void() AbortHandlerT()
 
typedef std::basic_ostream< char > &() EndLType(std::basic_ostream< char > &)
 
typedef void() Function(State &)
 

Enumerations

enum  ReportMode { RM_Unspecified, RM_Default, RM_ReportAggregatesOnly }
 

Functions

template<typename T , size_t N>
char(& ArraySizeHelper (const T(&array)[N]))[N]
 
template<typename T , size_t N>
char(& ArraySizeHelper (T(&array)[N]))[N]
 
BENCHMARK_NORETURN void CallAbortHandler ()
 
bool FindBenchmarksInternal (const std::string &re, std::vector< Benchmark::Instance > *benchmarks, std::ostream *Err)
 
double Finish (Counter const &c, double cpu_time, double num_threads)
 
void Finish (UserCounters *l, double cpu_time, double num_threads)
 
AbortHandlerT *& GetAbortHandler ()
 
LogTypeGetErrorLogInstance ()
 
LogTypeGetLogInstanceForLevel (int level)
 
LogTypeGetNullLogInstance ()
 
ConsoleReporter::OutputOptions GetOutputOptions (bool force_no_color)
 
void Increment (UserCounters *l, UserCounters const &r)
 
int InitializeStreams ()
 
bool IsZero (double n)
 
int & LogLevel ()
 
LogTypeoperator<< (LogType &log, EndLType *m)
 
template<class Tp >
LogTypeoperator<< (LogType &log, Tp const &value)
 
void ParseCommandLineFlags (int *argc, char **argv)
 
void PrintUsageAndExit ()
 
BenchmarkRegisterBenchmarkInternal (Benchmark *)
 
bool SameNames (UserCounters const &l, UserCounters const &r)
 
void UseCharPointer (char const volatile *)
 

Variables

static BENCHMARK_UNUSED int stream_init_anchor = InitializeStreams()
 

Typedef Documentation

◆ AbortHandlerT

typedef void() benchmark::internal::AbortHandlerT()

Definition at line 14 of file check.h.

◆ EndLType

typedef std::basic_ostream<char>&() benchmark::internal::EndLType(std::basic_ostream< char > &)

Definition at line 12 of file protobuf/third_party/benchmark/src/log.h.

◆ Function

typedef void() benchmark::internal::Function(State &)

Definition at line 575 of file benchmark.h.

Enumeration Type Documentation

◆ ReportMode

Enumerator
RM_Unspecified 
RM_Default 
RM_ReportAggregatesOnly 

Definition at line 385 of file benchmark.h.

Function Documentation

◆ ArraySizeHelper() [1/2]

template<typename T , size_t N>
char(& benchmark::internal::ArraySizeHelper ( const T(&)  array[N]) )[N]

◆ ArraySizeHelper() [2/2]

template<typename T , size_t N>
char(& benchmark::internal::ArraySizeHelper ( T(&)  array[N]) )[N]

◆ CallAbortHandler()

BENCHMARK_NORETURN void benchmark::internal::CallAbortHandler ( )
inline

Definition at line 21 of file check.h.

◆ FindBenchmarksInternal()

bool benchmark::internal::FindBenchmarksInternal ( const std::string re,
std::vector< Benchmark::Instance > *  benchmarks,
std::ostream *  Err 
)

Definition at line 218 of file benchmark_register.cc.

◆ Finish() [1/2]

double benchmark::internal::Finish ( Counter const &  c,
double  cpu_time,
double  num_threads 
)

Definition at line 20 of file counter.cc.

◆ Finish() [2/2]

void benchmark::internal::Finish ( UserCounters l,
double  cpu_time,
double  num_threads 
)

Definition at line 31 of file counter.cc.

◆ GetAbortHandler()

AbortHandlerT*& benchmark::internal::GetAbortHandler ( )
inline

Definition at line 16 of file check.h.

◆ GetErrorLogInstance()

LogType& benchmark::internal::GetErrorLogInstance ( )
inline

Definition at line 54 of file protobuf/third_party/benchmark/src/log.h.

◆ GetLogInstanceForLevel()

LogType& benchmark::internal::GetLogInstanceForLevel ( int  level)
inline

Definition at line 59 of file protobuf/third_party/benchmark/src/log.h.

◆ GetNullLogInstance()

LogType& benchmark::internal::GetNullLogInstance ( )
inline

Definition at line 49 of file protobuf/third_party/benchmark/src/log.h.

◆ GetOutputOptions()

ConsoleReporter::OutputOptions benchmark::internal::GetOutputOptions ( bool  force_no_color)

Definition at line 550 of file benchmark.cc.

◆ Increment()

void benchmark::internal::Increment ( UserCounters l,
UserCounters const &  r 
)

Definition at line 37 of file counter.cc.

◆ InitializeStreams()

int benchmark::internal::InitializeStreams ( )

Definition at line 696 of file benchmark.cc.

◆ IsZero()

bool benchmark::internal::IsZero ( double  n)

Definition at line 546 of file benchmark.cc.

◆ LogLevel()

int& benchmark::internal::LogLevel ( )
inline

Definition at line 44 of file protobuf/third_party/benchmark/src/log.h.

◆ operator<<() [1/2]

LogType& benchmark::internal::operator<< ( LogType log,
EndLType m 
)
inline

Definition at line 37 of file protobuf/third_party/benchmark/src/log.h.

◆ operator<<() [2/2]

template<class Tp >
LogType& benchmark::internal::operator<< ( LogType log,
Tp const &  value 
)

Definition at line 30 of file protobuf/third_party/benchmark/src/log.h.

◆ ParseCommandLineFlags()

void benchmark::internal::ParseCommandLineFlags ( int *  argc,
char **  argv 
)

Definition at line 655 of file benchmark.cc.

◆ PrintUsageAndExit()

void benchmark::internal::PrintUsageAndExit ( )

Definition at line 638 of file benchmark.cc.

◆ RegisterBenchmarkInternal()

Benchmark * benchmark::internal::RegisterBenchmarkInternal ( Benchmark bench)

Definition at line 209 of file benchmark_register.cc.

◆ SameNames()

bool benchmark::internal::SameNames ( UserCounters const &  l,
UserCounters const &  r 
)

Definition at line 54 of file counter.cc.

◆ UseCharPointer()

void benchmark::internal::UseCharPointer ( char const volatile *  )

Definition at line 104 of file benchmark.cc.

Variable Documentation

◆ stream_init_anchor

BENCHMARK_UNUSED int benchmark::internal::stream_init_anchor = InitializeStreams()
static

Definition at line 287 of file benchmark.h.



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