Home
last modified time | relevance | path

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

/third_party/grpc/src/core/lib/gpr/
Dcpu_linux.cc55 unsigned gpr_cpu_num_cores(void) { in gpr_cpu_num_cores() function
66 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()
Dcpu_posix.cc46 unsigned gpr_cpu_num_cores(void) { in gpr_cpu_num_cores() function
80 return (unsigned)GPR_HASH_POINTER(thread_id, gpr_cpu_num_cores()); in gpr_cpu_current_cpu()
Dcpu_windows.cc25 unsigned gpr_cpu_num_cores(void) { in gpr_cpu_num_cores() function
Dcpu_iphone.cc27 unsigned gpr_cpu_num_cores(void) { in gpr_cpu_num_cores() function
/third_party/grpc/include/grpc/support/
Dcpu.h32 GPRAPI unsigned gpr_cpu_num_cores(void);
/third_party/grpc/src/cpp/server/
Dcreate_default_thread_pool.cc29 int cores = gpr_cpu_num_cores(); in CreateDefaultThreadPoolImpl()
/third_party/grpc/test/core/gpr/
Dcpu_test.cc106 ct.ncores = gpr_cpu_num_cores(); in cpu_test()
/third_party/grpc/test/cpp/qps/
Dserver.h45 cores_ = gpr_cpu_num_cores(); in Server()
Dqps_worker.cc140 resp->set_cores(gpr_cpu_num_cores()); in CoreCount()
Dclient.h429 : cores_(gpr_cpu_num_cores()), create_stub_(create_stub) { in ClientImpl()
/third_party/grpc/
Dgrpc.def223 gpr_cpu_num_cores
/third_party/grpc/src/core/lib/debug/
Dstats.cc41 g_num_cores = GPR_MAX(1, gpr_cpu_num_cores()); in grpc_stats_init()
/third_party/grpc/test/core/surface/
Dpublic_headers_must_be_c89.c290 printf("%lx", (unsigned long) gpr_cpu_num_cores); in main()
/third_party/grpc/src/core/lib/iomgr/
Dexecutor.cc95 max_threads_ = GPR_MAX(1, 2 * gpr_cpu_num_cores()); in Executor()
Dtimer_generic.cc261 g_num_shards = GPR_CLAMP(2 * gpr_cpu_num_cores(), 1, 32); in timer_list_init()
Dev_epoll1_linux.cc531 g_num_neighborhoods = GPR_CLAMP(gpr_cpu_num_cores(), 1, MAX_NEIGHBORHOODS); in pollset_global_init()
/third_party/grpc/src/core/lib/channel/
Dchannelz.cc75 num_cores_ = GPR_MAX(1, gpr_cpu_num_cores()); in CallCountingHelper()
/third_party/grpc/src/ruby/ext/grpc/
Drb_grpc_imports.generated.h739 #define gpr_cpu_num_cores gpr_cpu_num_cores_import macro