Skip to content
Snippets Groups Projects
Commit 7b0f5c20 authored by Rolf Eike Beer's avatar Rolf Eike Beer
Browse files

SystemInformation: improve CPU counting on non-standard architectures

When /proc/cpuinfo does not match the expected layout the number of logical or
physical CPUs can be reported as 0. Adapt the parsing to catch the layout used
on Sparc, and ensure that the number of logical cores is never 0.

While at it slightly improve the CPU frequency checking so it also matches
Linux Sparc32.
parent d6139c66
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment