Searched refs:cpu_count (Results 1 – 4 of 4) sorted by relevance
499 args.jobs = multiprocessing.cpu_count()
38 from os import environ, getcwd, chdir, cpu_count, chmod577 with ThreadPoolExecutor(cpu_count() if use_multiprocessing(args.mode) else 1) as pool:
257 int cpu_count = sysconf(_SC_NPROCESSORS_CONF); in SetCpuAffinity() local262 if (cpu >= 0 && cpu < cpu_count) { in SetCpuAffinity()267 cpu, cpu_count); in SetCpuAffinity()
1055 return multiprocessing.cpu_count()