Function total_cpu()

← Back to Module multiprocess



Module multiprocess → total_cpu()

Description

Get the number of logical CPUs in the system

total_cpu()


Parameters

There are no parameters.


Return Value


Usage Example

import multiprocess
 
n = total_cpu()