cpu_count#

maize.utilities.resources.cpu_count() int[source]#

Finds the number of CPUs in the current system, while respecting the affinity to make it compatible with cluster management systems.