Detect current CPU Clock Speed Programmatically on OS X?

Tim picture Tim · Mar 30, 2012 · Viewed 16.8k times · Source

I just bought a nifty MBA 13" Core i7. I'm told the CPU speed varies automatically, and pretty wildly, too. I'd really like to be able to monitor this with a simple app.

Are there any Cocoa or C calls to find the current clock speed, without actually affecting it?

Edit: I'm OK with answers using Terminal calls, as well as programmatic.

Thanks!

Answer

Yevgeni picture Yevgeni · Apr 9, 2013

Try this tool called "Intel Power Gadget". It displays IA frequency and IA power in real time.

http://software.intel.com/sites/default/files/article/184535/intel-power-gadget-2.zip