macOS: Show hyperthreaded cores

This commit is contained in:
Dylan Araps 2016-10-21 15:16:02 +11:00
parent 5274d2d54a
commit 1a8734bf46
1 changed files with 1 additions and 1 deletions

View File

@ -738,7 +738,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.physicalcpu)" cores="$(sysctl -n hw.ncpu)"
;; ;;
"iPhone OS") "iPhone OS")