Lines Matching refs:cores
1230 int cores = cpuset_count(&available_cpus); in InitializeThreads() local
1233 if (cpu_stress_threads_ + memory_threads_ <= cores) { in InitializeThreads()
1237 int nthbit = (((2 * nthcore) % cores) + in InitializeThreads()
1238 (((2 * nthcore) / cores) % 2)) % cores; in InitializeThreads()
1240 cpuset_set_ab(&all_cores, 0, cores); in InitializeThreads()
1372 int cores = cpuset_count(&available_cpus); in InitializeThreads() local
1373 if (cpu_stress_threads_ + memory_threads_ <= cores) { in InitializeThreads()
1377 int nthcore = (cores - 1) - i; in InitializeThreads()
1378 int nthbit = (((2 * nthcore) % cores) + in InitializeThreads()
1379 (((2 * nthcore) / cores) % 2)) % cores; in InitializeThreads()
1381 cpuset_set_ab(&all_cores, 0, cores); in InitializeThreads()