https://bugs.kde.org/show_bug.cgi?id=500745

Thomas Bertels <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #15 from Thomas Bertels <[email protected]> ---
The KCM seems to get the info from
Solid::Device::listFromType(Solid::DeviceInterface::Processor[1][2]
which ultimately gets the info from /proc/cpuinfo[3]

/proc/cpuinfo does contain:
"physical id" which identifies physical cpus
"cpu cores" which contains the number of physical cores of the cpu
"siblings" which contains the number of threads of the cpu.

So CPUEntry could use this information filter by "physical id" and show the
number of cores and threads instead of simply counting the number of entries
returned by cpuinfo.

[1]https://github.com/KDE/kinfocenter/blob/master/kcms/about-distro/src/CPUEntry.cpp#L28
[2]https://github.com/KDE/kinfocenter/blob/master/kcms/about-distro/src/CPUEntry.h#L20
[3]https://github.com/KDE/kdelibs/blob/1c5b25966136b6099665477616fb4d38a98fd7ef/solid/solid/backends/udev/cpuinfo.cpp#L35

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to