Post

Replies

Boosts

Views

Activity

Reply to Detect number of performance core on Apple Silicon at runtime
If you still seek the answer, then you can get the Performance cores via sysctl along with: hw.perflevel0.physicalcpu OR hw.perflevel0.physicalcpu_max OR hw.perflevel0.logicalcpu OR hw.perflevel0.logicalcpu_max and for Efficiency cores: hw.perflevel1.physicalcpu OR hw.perflevel1.physicalcpu_max OR hw.perflevel1.logicalcpu OR hw.perflevel1.logicalcpu_max .logicalcpu and .logicalcpu_max are probably max threads (which is 1:1 for M1 Macs) Regards
Mar ’22
Reply to How to get the number of high-performance cores on Apple Silicon?
If you still seek the answer, then you can get the Performance cores via sysctl along with: hw.perflevel0.physicalcpu OR hw.perflevel0.physicalcpu_max OR hw.perflevel0.logicalcpu OR hw.perflevel0.logicalcpu_max and for Efficiency cores: hw.perflevel1.physicalcpu OR hw.perflevel1.physicalcpu_max OR hw.perflevel1.logicalcpu OR hw.perflevel1.logicalcpu_max .logicalcpu and .logicalcpu_max are probably max threads (which is 1:1 for M1 Macs) Regards
Mar ’22