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

View File

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