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