Well HT is a major info when you count the cores with /proc/cpuinfo. Should not be that hard however. Other systems do not have got those dmi values you parse, so better forget em.
Printable View
Well HT is a major info when you count the cores with /proc/cpuinfo. Should not be that hard however. Other systems do not have got those dmi values you parse, so better forget em.
It works with my motherboard : ASUS Rampage 2 Gene
The HT status is retrieved from SMBIOS (my dmi is a 2.5 release)
http://blog.cyring.fr/wp-content/upl...d_screen11.jpg
As I said I have to rely on something else. I believe CPUID or MSR are the key.
I may also give a look into kernel sources how it builds /proc/cpuinfo
So far, I have programmed a nice Makefile, and I'm building a virtual server to provide code files.
I am sorry but I am not seeing any such thing here:
http://wiki.cyring.fr/index.php?title=CoreMod#coremod.h
Sorry for the inconveniences, I have built a server for all my source codes at the following URL
http://code.cyring.fr/FTS