Commit 084541fe authored by Dylan Araps's avatar Dylan Araps Committed by GitHub

Merge pull request #364 from iandrewt/hyperthreading-fix

fix macOS to show physical cores
parents efe5f804 50a2bdcc
......@@ -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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment