Conky-for-macOS / conky-for-macOS

macOS port of the Light-weight system monitor for X.
https://github.com/Conky-for-macOS/conky-for-macOS/wiki
GNU General Public License v3.0
157 stars 9 forks source link

Improve get_freq() #20

Closed npyl closed 6 years ago

npyl commented 6 years ago

Find a way to actually calculate each core's frequency. Currently get_freq() gets the factory frequency using sysctl.

Probably this will require creating a kernel extension for conky.

npyl commented 6 years ago

Intel's Power Gadget can read the CPU frequency (so we can read it, too!). It is also available through Homebrew.

Can be installed using brew cask install intel-power-gadget.

The cask installs the PowerGadget.app, the Framework and the Driver.

npyl commented 6 years ago

Right now this API seems to only work for CORE0

npyl commented 6 years ago

This is probably as far as it can go for now; thus close issue.