Skip to main content

Module affinity

Module affinity 

Source

Functionsยง

available_parallelism
Return a best-effort CPU count available to the current process.
process_cpu_affinity_count
Return the current process affinity mask size when the platform exposes a standard affinity API.