Attempting to find nominal CPU clock frequency. Previously have been finding this using sysctlbyname() with name="hw.cpufrequency" or with sysctl() with name[0]=CTLHW and name[1]=HWCPU_FREQ. I also notice that processor speed no longer shows in 'About this Mac'. Anyone know I programmatically find this value on an M1 machine?
Find Clock Speed on M1 Mac
You can use Geekbench 5 to check the clockspeed. I'm using Macbook Pro M1, it shows 2,4GHz. I don't know why its has different with the commercial ads in here https://www.apple.com/mac/m1/
Hope it helps.
Hope it helps.
Try this:
sudo /usr/bin/powermetrics -s cpu_power -n 1 | grep '^cpu [0-9]+ frequency: '
It’s there away to influence clock frequency by a command of setting? I am trying to fix an MBP M1 late 2020, which after a water spill runs @ at 812 MHz only. Componentes all appear OK.
Thanks for any useful hint!
Burkha