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

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")