Searched refs:gpr_cpu_num_cores (Results 1 – 17 of 17) sorted by relevance
55 unsigned gpr_cpu_num_cores(void) { in gpr_cpu_num_cores() function66 if (gpr_cpu_num_cores() == 1) { in gpr_cpu_current_cpu()74 if (static_cast<unsigned>(cpu) >= gpr_cpu_num_cores()) { in gpr_cpu_current_cpu()
47 unsigned gpr_cpu_num_cores(void) { in gpr_cpu_num_cores() function78 return (unsigned)GPR_HASH_POINTER(thread_id, gpr_cpu_num_cores()); in gpr_cpu_current_cpu()
26 unsigned gpr_cpu_num_cores(void) { return 1; } in gpr_cpu_num_cores() function
25 unsigned gpr_cpu_num_cores(void) { in gpr_cpu_num_cores() function
32 GPRAPI unsigned gpr_cpu_num_cores(void);
29 int cores = gpr_cpu_num_cores(); in CreateDefaultThreadPoolImpl()
106 ct.ncores = gpr_cpu_num_cores(); in cpu_test()
44 cores_ = gpr_cpu_num_cores(); in Server()
134 resp->set_cores(gpr_cpu_num_cores()); in CoreCount()
424 : cores_(gpr_cpu_num_cores()), create_stub_(create_stub) { in ClientImpl()
205 gpr_cpu_num_cores
36 g_num_cores = GPR_MAX(1, gpr_cpu_num_cores()); in grpc_stats_init()
264 printf("%lx", (unsigned long) gpr_cpu_num_cores); in main()
55 max_threads_ = GPR_MAX(1, 2 * gpr_cpu_num_cores()); in GrpcExecutor()
259 g_num_shards = GPR_MIN(1, 2 * gpr_cpu_num_cores()); in timer_list_init()
512 g_num_neighborhoods = GPR_CLAMP(gpr_cpu_num_cores(), 1, MAX_NEIGHBORHOODS); in pollset_global_init()
655 #define gpr_cpu_num_cores gpr_cpu_num_cores_import macro