Home
last modified time | relevance | path

Searched refs:ncores (Results 1 – 3 of 3) sorted by relevance

/external/grpc-grpc/test/core/gpr/
Dcpu_test.cc60 uint32_t ncores; member
81 GPR_ASSERT(cpu < ct->ncores); in worker_thread()
84 for (j = 0; j < ct->ncores; j++) { in worker_thread()
88 if (j == ct->ncores) { in worker_thread()
106 ct.ncores = gpr_cpu_num_cores(); in cpu_test()
107 GPR_ASSERT(ct.ncores > 0); in cpu_test()
108 ct.nthreads = static_cast<int>(ct.ncores) * 3; in cpu_test()
109 ct.used = static_cast<int*>(gpr_malloc(ct.ncores * sizeof(int))); in cpu_test()
110 memset(ct.used, 0, ct.ncores * sizeof(int)); in cpu_test()
115 uint32_t nthreads = ct.ncores * 3; in cpu_test()
[all …]
/external/iperf3/src/
Dmain.c81 int ncores = 1; in main() local
87 if ((ncores = sysconf(_SC_NPROCESSORS_CONF)) <= 0) in main()
/external/llvm-project/openmp/runtime/src/
Dkmp_affinity.cpp4035 int ncores = 0; in __kmp_affinity_compute_ncores() local
4048 ncores++; in __kmp_affinity_compute_ncores()
4054 ncores++; in __kmp_affinity_compute_ncores()
4056 return ncores; in __kmp_affinity_compute_ncores()
4570 int ncores = __kmp_affinity_compute_ncores(address2os, __kmp_avail_proc, in __kmp_aux_affinity_initialize() local
4575 int nproc = ncores * maxprocpercore; in __kmp_aux_affinity_initialize()
5102 int ncores = __kmp_ncores; in __kmp_balanced_affinity() local
5105 ncores = nPackages; in __kmp_balanced_affinity()
5108 int chunk = nthreads / ncores; in __kmp_balanced_affinity()
5110 int big_cores = nthreads % ncores; in __kmp_balanced_affinity()
[all …]