Skip to main content
edited tags
Link
nohillside
  • 104.4k
  • 42
  • 222
  • 275
Notice removed Current answers are outdated by amanusk
Bounty Ended with webmarc's answer chosen by amanusk
Notice added Current answers are outdated by amanusk
Bounty Started worth 50 reputation by amanusk
Tweeted twitter.com/askdifferent/status/1012799429571743744
Post Reopened by nohillside
added 318 characters in body
Source Link
amanusk
  • 317
  • 2
  • 3
  • 11

I am aware of these answers:

https://stackoverflow.com/questions/9948987/detect-current-cpu-clock-speed-programmatically-on-os-x

View the current clock Speed of a CPU in OS X?

Which refer to Intel Power Gadget as a way to obtain current CPU frequency, is there a program/method to obtain this information from the terminal?

sysctl hw.cpufrequency only shows the nominal frequency of the CPU, i.e. what the manufacturer has stated. It does not consider Turbo Boost or lower frequencies when CPU is idle. (For example if CPU is i5, 1.4GHz, it will always state 1.4GHz)

The C solution given it SO using sysctl.h has the same effect.

I am aware of these answers:

https://stackoverflow.com/questions/9948987/detect-current-cpu-clock-speed-programmatically-on-os-x

View the current clock Speed of a CPU in OS X?

Which refer to Intel Power Gadget as a way to obtain current CPU frequency, is there a program/method to obtain this information from the terminal?

I am aware of these answers:

https://stackoverflow.com/questions/9948987/detect-current-cpu-clock-speed-programmatically-on-os-x

View the current clock Speed of a CPU in OS X?

Which refer to Intel Power Gadget as a way to obtain current CPU frequency, is there a program/method to obtain this information from the terminal?

sysctl hw.cpufrequency only shows the nominal frequency of the CPU, i.e. what the manufacturer has stated. It does not consider Turbo Boost or lower frequencies when CPU is idle. (For example if CPU is i5, 1.4GHz, it will always state 1.4GHz)

The C solution given it SO using sysctl.h has the same effect.

Post Closed as "Needs details or clarity" by nohillside
Source Link
amanusk
  • 317
  • 2
  • 3
  • 11

Is there a way to see current CPU frequency in macOS from terminal (not Intel power gadget)

I am aware of these answers:

https://stackoverflow.com/questions/9948987/detect-current-cpu-clock-speed-programmatically-on-os-x

View the current clock Speed of a CPU in OS X?

Which refer to Intel Power Gadget as a way to obtain current CPU frequency, is there a program/method to obtain this information from the terminal?