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

fix reading cpuinfo timebase for ppc #1588

Closed
yosefe opened this issue Jun 7, 2017 · 0 comments
Closed

fix reading cpuinfo timebase for ppc #1588

yosefe opened this issue Jun 7, 2017 · 0 comments

Comments

@yosefe
Copy link
Contributor

yosefe commented Jun 7, 2017

on clx-ppc-07:

cat proc/cpuinfo
timebase        : 512000000
platform        : PowerNV
model           : 8335-GTA
machine         : PowerNV 8335-GTA
firmware        : OPAL v3

ucs_get_cpuinfo_clock_freq() returns the value multiplied by 1e6, so the effective freq returned is:
512000000000000

On x86_64, where we see "2400 Mhz" or something similar in /proc/cpuinfo, it makes sense to multiply by 1e6…

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

1 participant