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

Matcher fails for modelinfo on linux #21

Open
fconcklin opened this issue Jan 14, 2013 · 1 comment · May be fixed by #32
Open

Matcher fails for modelinfo on linux #21

fconcklin opened this issue Jan 14, 2013 · 1 comment · May be fixed by #32

Comments

@fconcklin
Copy link

model name : AMD Phenom(tm) II X6 1055T Processor

@jezhumble
Copy link
Owner

AMD CPUs are a problem because the model name doesn't actually tell you the frequency. For instance, the model you mention runs at 2.8 GHz, but there's no way to derive that from the text. The only remotely reasonable solution I can think of is to ship the jar with a lookup table of AMD model numbers. I'm not thrilled about this idea.

As a matter of interest, what does the cpuFrequencyInHz() call return for this model? Perhaps it should return -1 or throw an exception.

@unverbraucht unverbraucht linked a pull request Oct 21, 2014 that will close this issue
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 a pull request may close this issue.

2 participants