Mojo function
num_physical_cores
num_physical_cores() -> Int
Returns the number of physical cores across all CPU sockets.
Returns:
Int: The number of physical cores on the system.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
😔 What went wrong?