Merge pull request #364 from iandrewt/hyperthreading-fix

fix macOS to show physical cores
This commit is contained in:
Dylan Araps 2016-10-15 23:56:41 +11:00 committed by GitHub
commit 084541fe34

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