Searched refs:gpr_cpu_num_cores (Results 1 – 18 of 18) sorted by relevance
/third_party/grpc/src/core/lib/gpr/ |
D | cpu_linux.cc | 55 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()
|
D | cpu_posix.cc | 46 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()
|
D | cpu_windows.cc | 25 unsigned gpr_cpu_num_cores(void) { in gpr_cpu_num_cores() function
|
D | cpu_iphone.cc | 27 unsigned gpr_cpu_num_cores(void) { in gpr_cpu_num_cores() function
|
/third_party/grpc/include/grpc/support/ |
D | cpu.h | 32 GPRAPI unsigned gpr_cpu_num_cores(void);
|
/third_party/grpc/src/cpp/server/ |
D | create_default_thread_pool.cc | 29 int cores = gpr_cpu_num_cores(); in CreateDefaultThreadPoolImpl()
|
/third_party/grpc/test/core/gpr/ |
D | cpu_test.cc | 106 ct.ncores = gpr_cpu_num_cores(); in cpu_test()
|
/third_party/grpc/test/cpp/qps/ |
D | server.h | 45 cores_ = gpr_cpu_num_cores(); in Server()
|
D | qps_worker.cc | 140 resp->set_cores(gpr_cpu_num_cores()); in CoreCount()
|
D | client.h | 429 : cores_(gpr_cpu_num_cores()), create_stub_(create_stub) { in ClientImpl()
|
/third_party/grpc/ |
D | grpc.def | 223 gpr_cpu_num_cores
|
/third_party/grpc/src/core/lib/debug/ |
D | stats.cc | 41 g_num_cores = GPR_MAX(1, gpr_cpu_num_cores()); in grpc_stats_init()
|
/third_party/grpc/test/core/surface/ |
D | public_headers_must_be_c89.c | 290 printf("%lx", (unsigned long) gpr_cpu_num_cores); in main()
|
/third_party/grpc/src/core/lib/iomgr/ |
D | executor.cc | 95 max_threads_ = GPR_MAX(1, 2 * gpr_cpu_num_cores()); in Executor()
|
D | timer_generic.cc | 261 g_num_shards = GPR_CLAMP(2 * gpr_cpu_num_cores(), 1, 32); in timer_list_init()
|
D | ev_epoll1_linux.cc | 531 g_num_neighborhoods = GPR_CLAMP(gpr_cpu_num_cores(), 1, MAX_NEIGHBORHOODS); in pollset_global_init()
|
/third_party/grpc/src/core/lib/channel/ |
D | channelz.cc | 75 num_cores_ = GPR_MAX(1, gpr_cpu_num_cores()); in CallCountingHelper()
|
/third_party/grpc/src/ruby/ext/grpc/ |
D | rb_grpc_imports.generated.h | 739 #define gpr_cpu_num_cores gpr_cpu_num_cores_import macro
|