Home
last modified time | relevance | path

Searched refs:g_num_cores (Results 1 – 1 of 1) sorted by relevance

/third_party/grpc/src/core/lib/debug/
Dstats.cc38 static size_t g_num_cores; variable
41 g_num_cores = GPR_MAX(1, gpr_cpu_num_cores()); in grpc_stats_init()
43 gpr_zalloc(sizeof(grpc_stats_data) * g_num_cores)); in grpc_stats_init()
50 for (size_t core = 0; core < g_num_cores; core++) { in grpc_stats_collect()