gordias.dask_setup.cpu_count_physical#

gordias.dask_setup.cpu_count_physical() int | None#

Return the number of physical cores in the system.

Used to detect hyperthreading.

Returns:

Number of physical cores or None if not detectable.

Return type:

int or None