Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get the CPU frequency from the "cpu MHz" field in /proc/cpuinfo instead of by parsing the model field. #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jamesjer
Copy link

@jamesjer jamesjer commented Nov 6, 2013

How about addressing issue 21 with this approach? It uses the "cpu MHz" field in /proc/cpuinfo to get the CPU frequency, which should work across CPU families and models.

@unverbraucht
Copy link

This won't work on Raspberry unfortunately. I changed it so it tries to parse /sys first and then falls back on /proc/cpuinfo in #32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants