Searched refs:cpu_count (Results 1 – 2 of 2) sorted by relevance
1010 return multiprocessing.cpu_count()
535 int cpu_count = sysconf(_SC_NPROCESSORS_CONF); in SetCpuAffinity() local540 if (cpu >= 0 && cpu < cpu_count) { in SetCpuAffinity()545 cpu, cpu_count); in SetCpuAffinity()