Hi,
I am loking for ways to detect hyper threading in c++ program on Linux. I don't intent to read /proc/cpuinfo file.
I have tried cpuid and then edx value, somehow, it returns the same value on machines with HT and without HT.
It seems some cpucounter program on web is not working for intel64.
I am using 64 bit Linux machine with :
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 45
model name : Intel(R) Core(TM) i7-3960X CPU @ 3.30GHz
...
Thank you.



