PyDocs

Nav

Generic Operating System Services

process_cpu_count

os

function · Added in 3.13 (source)
  • process_cpu_count()
Get the number of CPUs of the current process.

Return the number of logical CPUs usable by the calling thread of the
current process. Return None if indeterminable.
0 Examples
No examples for os/process_cpu_count.
See Also
No see-alsos for os/process_cpu_count
0 Notes
No notes for process_cpu_count