Skip to content

SystemInformation: improve CPU counting on non-standard architectures

Rolf Eike Beer requested to merge DerDakon/kwsys:sparc-cpus into master

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.

Merge request reports