Skip to main content
Log in

Mojo function

num_performance_cores

num_performance_cores() -> Int

Returns the number of physical performance cores across all CPU sockets. If not known, returns the total number of physical cores.

Returns:

Int: The number of physical performance cores on the system.