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.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
If you'd like to share more information, please report an issue on GitHub
😔 What went wrong?