Classes | Namespaces | Macros | Functions
re2/util/benchmark.h File Reference
#include <stdint.h>
#include <functional>
#include "util/logging.h"
#include "util/util.h"
Include dependency graph for re2/util/benchmark.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  testing::Benchmark
 
class  benchmark::State::Iterator
 
class  benchmark::State
 
struct  benchmark::State::Iterator::Value
 

Namespaces

 benchmark
 
 testing
 

Macros

#define BENCHMARK(f)
 
#define BENCHMARK_RANGE(f, lo, hi)
 

Functions

void SetBenchmarkBytesProcessed (int64_t b)
 
void SetBenchmarkItemsProcessed (int64_t i)
 
void StartBenchmarkTiming ()
 
void StopBenchmarkTiming ()
 

Macro Definition Documentation

◆ BENCHMARK

#define BENCHMARK (   f)
Value:

Definition at line 148 of file re2/util/benchmark.h.

◆ BENCHMARK_RANGE

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

Definition at line 152 of file re2/util/benchmark.h.

Function Documentation

◆ SetBenchmarkBytesProcessed()

void SetBenchmarkBytesProcessed ( int64_t  b)

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

◆ SetBenchmarkItemsProcessed()

void SetBenchmarkItemsProcessed ( int64_t  i)

Definition at line 56 of file 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