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

how to get the freq of the cpu #370

Closed
huangshaoxin opened this issue Nov 10, 2023 · 1 comment
Closed

how to get the freq of the cpu #370

huangshaoxin opened this issue Nov 10, 2023 · 1 comment

Comments

@huangshaoxin
Copy link

how can I get this cpu‘s freq to calculate the coremark score

@enjoy-digital
Copy link
Member

Hi @huangshaoxin,

you could probably get it from the parsed .dts with something like:
cat /proc/device-tree/cpus/cpu@0/clock-frequency

Or install util-linux and/or cpufrequtils packages with buildroot to have access to lscpu and or cpufreq-info.

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

No branches or pull requests

2 participants