Home
last modified time | relevance | path

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

/external/grpc-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.cc47 unsigned gpr_cpu_num_cores(void) { in gpr_cpu_num_cores() function
78 return (unsigned)GPR_HASH_POINTER(thread_id, gpr_cpu_num_cores()); in gpr_cpu_current_cpu()
Dcpu_iphone.cc26 unsigned gpr_cpu_num_cores(void) { return 1; } in gpr_cpu_num_cores() function
Dcpu_windows.cc25 unsigned gpr_cpu_num_cores(void) { in gpr_cpu_num_cores() function
/external/grpc-grpc/include/grpc/support/
Dcpu.h32 GPRAPI unsigned gpr_cpu_num_cores(void);
/external/grpc-grpc/src/cpp/server/
Dcreate_default_thread_pool.cc29 int cores = gpr_cpu_num_cores(); in CreateDefaultThreadPoolImpl()
/external/grpc-grpc/test/core/gpr/
Dcpu_test.cc106 ct.ncores = gpr_cpu_num_cores(); in cpu_test()
/external/grpc-grpc/test/cpp/qps/
Dserver.h44 cores_ = gpr_cpu_num_cores(); in Server()
Dqps_worker.cc134 resp->set_cores(gpr_cpu_num_cores()); in CoreCount()
Dclient.h424 : cores_(gpr_cpu_num_cores()), create_stub_(create_stub) { in ClientImpl()
/external/grpc-grpc/
Dgrpc.def205 gpr_cpu_num_cores
/external/grpc-grpc/src/core/lib/debug/
Dstats.cc36 g_num_cores = GPR_MAX(1, gpr_cpu_num_cores()); in grpc_stats_init()
/external/grpc-grpc/test/core/surface/
Dpublic_headers_must_be_c89.c264 printf("%lx", (unsigned long) gpr_cpu_num_cores); in main()
/external/grpc-grpc/src/core/lib/iomgr/
Dexecutor.cc55 max_threads_ = GPR_MAX(1, 2 * gpr_cpu_num_cores()); in GrpcExecutor()
Dtimer_generic.cc259 g_num_shards = GPR_MIN(1, 2 * gpr_cpu_num_cores()); in timer_list_init()
Dev_epoll1_linux.cc512 g_num_neighborhoods = GPR_CLAMP(gpr_cpu_num_cores(), 1, MAX_NEIGHBORHOODS); in pollset_global_init()
/external/grpc-grpc/src/ruby/ext/grpc/
Drb_grpc_imports.generated.h655 #define gpr_cpu_num_cores gpr_cpu_num_cores_import macro