Home
last modified time | relevance | path

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

/external/grpc-grpc/src/core/lib/debug/
Dstats.cc33 static size_t g_num_cores; variable
36 g_num_cores = GPR_MAX(1, gpr_cpu_num_cores()); in grpc_stats_init()
38 gpr_zalloc(sizeof(grpc_stats_data) * g_num_cores)); in grpc_stats_init()
45 for (size_t core = 0; core < g_num_cores; core++) { in grpc_stats_collect()