/external/grpc-grpc/include/grpc/support/ |
cpu.h | 32 GPRAPI unsigned gpr_cpu_num_cores(void); 37 [0, gpr_cpu_num_cores() - 1] */
|
/external/grpc-grpc/src/core/lib/gpr/ |
cpu_iphone.cc | 26 unsigned gpr_cpu_num_cores(void) { return 1; } function 31 Note that the interface in cpu.h lets gpr_cpu_num_cores return 0, but doing
|
cpu_linux.cc | 55 unsigned gpr_cpu_num_cores(void) { function 66 if (gpr_cpu_num_cores() == 1) { 74 if (static_cast<unsigned>(cpu) >= gpr_cpu_num_cores()) {
|
cpu_windows.cc | 25 unsigned gpr_cpu_num_cores(void) { function
|
cpu_posix.cc | 47 unsigned gpr_cpu_num_cores(void) { function 78 return (unsigned)GPR_HASH_POINTER(thread_id, gpr_cpu_num_cores());
|
/external/grpc-grpc/src/cpp/server/ |
create_default_thread_pool.cc | 29 int cores = gpr_cpu_num_cores();
|
/external/grpc-grpc/src/core/lib/debug/ |
stats.cc | 36 g_num_cores = GPR_MAX(1, gpr_cpu_num_cores());
|
/external/grpc-grpc/test/core/gpr/ |
cpu_test.cc | 20 gpr_cpu_num_cores() 48 1) gpr_cpu_num_cores() == 0 49 2) Any result from gpr_cpu_current_cpu() >= gpr_cpu_num_cores() 106 ct.ncores = gpr_cpu_num_cores();
|
/external/grpc-grpc/test/cpp/qps/ |
server.h | 44 cores_ = gpr_cpu_num_cores();
|
qps_worker.cc | 134 resp->set_cores(gpr_cpu_num_cores());
|
client.h | 424 : cores_(gpr_cpu_num_cores()), create_stub_(create_stub) {
|
/external/grpc-grpc/src/core/lib/iomgr/ |
executor.cc | 55 max_threads_ = GPR_MAX(1, 2 * gpr_cpu_num_cores());
|
timer_generic.cc | 259 g_num_shards = GPR_MIN(1, 2 * gpr_cpu_num_cores());
|
ev_epoll1_linux.cc | 512 g_num_neighborhoods = GPR_CLAMP(gpr_cpu_num_cores(), 1, MAX_NEIGHBORHOODS); [all...] |
/external/grpc-grpc/test/core/surface/ |
public_headers_must_be_c89.c | 264 printf("%lx", (unsigned long) gpr_cpu_num_cores);
|
/external/grpc-grpc/src/ruby/ext/grpc/ |
rb_grpc_imports.generated.h | 655 #define gpr_cpu_num_cores macro [all...] |