fix macOS to show physical cores

This commit is contained in:
Andrew Titmuss 2016-10-15 22:57:45 +11:00
parent 649dab6dc0
commit 50a2bdcc95
No known key found for this signature in database
GPG Key ID: 8AF42975C787E0B2
1 changed files with 1 additions and 1 deletions

View File

@ -720,7 +720,7 @@ getcpu() {
"Mac OS X")
cpu="$(sysctl -n machdep.cpu.brand_string)"
cores="$(sysctl -n hw.ncpu)"
cores="$(sysctl -n hw.physicalcpu)"
;;
"iPhone OS")