ID EN
Multiprocessing

cpu_count

Python 3.11

Return the number of CPUs in the system.

Syntax

PYTHON
multiprocessing.cpu_count()

See Also

NotImplementedError os.cpu_count()