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

Classes

class  Benchmark
 
class  BenchmarkFamilies
 
class  BenchmarkInstance
 
class  BenchmarkRunner
 
class  CheckHandler
 
class  FunctionBenchmark
 
class  LogType
 
class  PerfCounters
 
class  PerfCountersMeasurement
 
class  PerfCounterValues
 
struct  RunResults
 
struct  Statistics
 
class  ThreadManager
 
class  ThreadTimer
 

Typedefs

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

Enumerations

enum  AggregationReportMode {
  ARM_Unspecified = 0, ARM_Default = 1U << 0U, ARM_FileReportAggregatesOnly = 1U << 1U, ARM_DisplayReportAggregatesOnly = 1U << 2U,
  ARM_ReportAggregatesOnly
}
 
enum  ReportMode {
  RM_Unspecified, RM_Default, RM_ReportAggregatesOnly, RM_Unspecified,
  RM_Default, RM_ReportAggregatesOnly
}
 
enum  ReportMode {
  RM_Unspecified, RM_Default, RM_ReportAggregatesOnly, RM_Unspecified,
  RM_Default, RM_ReportAggregatesOnly
}
 

Functions

template<typename T >
void AddNegatedPowers (std::vector< T > *dst, T lo, T hi, int mult)
 
template<typename T >
std::vector< T >::iterator AddPowers (std::vector< T > *dst, T lo, T hi, int mult)
 
template<typename T >
void AddRange (std::vector< T > *dst, T lo, T hi, int mult)
 
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)
 
bool FindBenchmarksInternal (const std::string &re, std::vector< BenchmarkInstance > *benchmarks, std::ostream *Err)
 
double Finish (Counter const &c, double cpu_time, double num_threads)
 
double Finish (Counter const &c, IterationCount iterations, double cpu_time, double num_threads)
 
void Finish (UserCounters *l, double cpu_time, double num_threads)
 
void Finish (UserCounters *l, IterationCount iterations, 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)
 
intLogLevel ()
 
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

std::map< std::string, std::string > * global_context = nullptr
 
MemoryManagermemory_manager = nullptr
 
static BENCHMARK_UNUSED bool perf_init_anchor = PerfCounters::Initialize()
 
static BENCHMARK_UNUSED int stream_init_anchor = InitializeStreams()
 
static BENCHMARK_UNUSED int stream_init_anchor = InitializeStreams()
 
static BENCHMARK_UNUSED int stream_init_anchor = InitializeStreams()
 

Typedef Documentation

◆ AbortHandlerT

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

Definition at line 14 of file benchmark/src/check.h.

◆ EndLType

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

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

◆ Function

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

Definition at line 826 of file benchmark/include/benchmark/benchmark.h.

Enumeration Type Documentation

◆ AggregationReportMode

Enumerator
ARM_Unspecified 
ARM_Default 
ARM_FileReportAggregatesOnly 
ARM_DisplayReportAggregatesOnly 
ARM_ReportAggregatesOnly 

Definition at line 479 of file benchmark/include/benchmark/benchmark.h.

◆ ReportMode [1/2]

Enumerator
RM_Unspecified 
RM_Default 
RM_ReportAggregatesOnly 
RM_Unspecified 
RM_Default 
RM_ReportAggregatesOnly 

Definition at line 385 of file protobuf/third_party/benchmark/include/benchmark/benchmark.h.

◆ ReportMode [2/2]

Enumerator
RM_Unspecified 
RM_Default 
RM_ReportAggregatesOnly 
RM_Unspecified 
RM_Default 
RM_ReportAggregatesOnly 

Definition at line 385 of file bloaty/third_party/protobuf/third_party/benchmark/include/benchmark/benchmark.h.

Function Documentation

◆ AddNegatedPowers()

template<typename T >
void benchmark::internal::AddNegatedPowers ( std::vector< T > *  dst,
T  lo,
T  hi,
int  mult 
)

Definition at line 39 of file benchmark_register.h.

◆ AddPowers()

template<typename T >
std::vector<T>::iterator benchmark::internal::AddPowers ( std::vector< T > *  dst,
T  lo,
T  hi,
int  mult 
)

Definition at line 16 of file benchmark_register.h.

◆ AddRange()

template<typename T >
void benchmark::internal::AddRange ( std::vector< T > *  dst,
T  lo,
T  hi,
int  mult 
)

Definition at line 59 of file benchmark_register.h.

◆ 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 benchmark/src/check.h.

◆ FindBenchmarksInternal() [1/2]

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

◆ FindBenchmarksInternal() [2/2]

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

Definition at line 192 of file benchmark/src/benchmark_register.cc.

◆ Finish() [1/4]

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

◆ Finish() [2/4]

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

Definition at line 20 of file benchmark/src/counter.cc.

◆ Finish() [3/4]

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

◆ Finish() [4/4]

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

Definition at line 42 of file benchmark/src/counter.cc.

◆ GetAbortHandler()

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

Definition at line 16 of file benchmark/src/check.h.

◆ GetErrorLogInstance()

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

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

◆ GetLogInstanceForLevel()

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

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

◆ GetNullLogInstance()

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

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

◆ GetOutputOptions()

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

Definition at line 411 of file benchmark/src/benchmark.cc.

◆ Increment()

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

Definition at line 49 of file benchmark/src/counter.cc.

◆ InitializeStreams()

int benchmark::internal::InitializeStreams ( )

Definition at line 595 of file benchmark/src/benchmark.cc.

◆ IsZero()

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

Definition at line 407 of file benchmark/src/benchmark.cc.

◆ LogLevel()

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

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

◆ operator<<() [1/2]

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

Definition at line 37 of file 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 third_party/benchmark/src/log.h.

◆ ParseCommandLineFlags()

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

Definition at line 540 of file benchmark/src/benchmark.cc.

◆ PrintUsageAndExit()

void benchmark::internal::PrintUsageAndExit ( )

Definition at line 519 of file benchmark/src/benchmark.cc.

◆ RegisterBenchmarkInternal()

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

Definition at line 183 of file benchmark/src/benchmark_register.cc.

◆ SameNames()

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

Definition at line 66 of file benchmark/src/counter.cc.

◆ UseCharPointer()

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

Definition at line 132 of file benchmark/src/benchmark.cc.

Variable Documentation

◆ global_context

std::map< std::string, std::string > * benchmark::internal::global_context = nullptr

Definition at line 129 of file benchmark/src/benchmark.cc.

◆ memory_manager

MemoryManager * benchmark::internal::memory_manager = nullptr

Definition at line 60 of file benchmark_runner.cc.

◆ perf_init_anchor

BENCHMARK_UNUSED bool benchmark::internal::perf_init_anchor = PerfCounters::Initialize()
static

Definition at line 167 of file perf_counters.h.

◆ stream_init_anchor [1/3]

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

◆ stream_init_anchor [2/3]

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

◆ stream_init_anchor [3/3]

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

Definition at line 322 of file benchmark/include/benchmark/benchmark.h.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:02:57