Classes | Namespaces | Macros | Functions
bloaty/third_party/re2/util/benchmark.h File Reference
#include <stdint.h>
Include dependency graph for bloaty/third_party/re2/util/benchmark.h:

Go to the source code of this file.

Classes

class  testing::Benchmark
 

Namespaces

 testing
 

Macros

#define BENCHMARK(f)   ::testing::Benchmark* _benchmark_##f = (new ::testing::Benchmark(#f, f))
 
#define BENCHMARK_RANGE(f, lo, hi)
 

Functions

void BenchmarkMemoryUsage ()
 
int NumCPUs ()
 
void SetBenchmarkBytesProcessed (int64_t)
 
void SetBenchmarkItemsProcessed (int)
 
void StartBenchmarkTiming ()
 
void StopBenchmarkTiming ()
 

Macro Definition Documentation

◆ BENCHMARK

#define BENCHMARK (   f)    ::testing::Benchmark* _benchmark_##f = (new ::testing::Benchmark(#f, f))

Definition at line 36 of file bloaty/third_party/re2/util/benchmark.h.

◆ BENCHMARK_RANGE

#define BENCHMARK_RANGE (   f,
  lo,
  hi 
)
Value:
::testing::Benchmark* _benchmark_##f = \

Definition at line 39 of file bloaty/third_party/re2/util/benchmark.h.

Function Documentation

◆ BenchmarkMemoryUsage()

void BenchmarkMemoryUsage ( )

Definition at line 66 of file bloaty/third_party/re2/util/benchmark.cc.

◆ NumCPUs()

int NumCPUs ( )

Definition at line 347 of file abseil-cpp/absl/base/internal/sysinfo.cc.

◆ SetBenchmarkBytesProcessed()

void SetBenchmarkBytesProcessed ( int64_t  )

Definition at line 47 of file bloaty/third_party/re2/util/benchmark.cc.

◆ SetBenchmarkItemsProcessed()

void SetBenchmarkItemsProcessed ( int  )

Definition at line 62 of file bloaty/third_party/re2/util/benchmark.cc.

◆ StartBenchmarkTiming()

void StartBenchmarkTiming ( )

Definition at line 57 of file bloaty/third_party/re2/util/benchmark.cc.

◆ StopBenchmarkTiming()

void StopBenchmarkTiming ( )

Definition at line 51 of file bloaty/third_party/re2/util/benchmark.cc.

autogen_x86imm.f
f
Definition: autogen_x86imm.py:9
testing::Benchmark
Definition: bloaty/third_party/re2/util/benchmark.h:11
compare.Benchmark
def Benchmark(outbase, bench_cpu=True, runs=12, fasttable=False)
Definition: upb/benchmarks/compare.py:56


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:04