portage.util.cpuinfo module

portage.util.cpuinfo.get_cpu_count()

Try to obtain the number of CPUs available to this process.

Returns

Number of CPUs or None if unable to obtain.