Go to the documentation of this file.
19 #ifndef TEST_CPP_MICROBENCHMARKS_COUNTERS_H
20 #define TEST_CPP_MICROBENCHMARKS_COUNTERS_H
27 #include <benchmark/benchmark.h>
44 #ifdef GPR_LOW_LEVEL_COUNTERS
46 extern gpr_atm gpr_counter_atm_cas;
47 extern gpr_atm gpr_counter_atm_add;
48 extern gpr_atm gpr_now_call_count;
62 #ifdef GPR_LOW_LEVEL_COUNTERS
64 const size_t atm_cas_at_start_ =
66 const size_t atm_add_at_start_ =
68 const size_t now_calls_at_start_ =
#define gpr_atm_no_barrier_load(p)
virtual void Finish(benchmark::State &state)
std::vector< std::string > labels_
grpc_stats_data stats_begin_
void grpc_stats_collect(grpc_stats_data *output)
virtual void AddLabel(const std::string &label)
grpc::internal::GrpcLibrary init_lib_
static LibraryInitializer & get()
virtual void AddToLabel(std::ostream &out, benchmark::State &state)
grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:01