Works properly on my primary dev machine (Win7 Ultimate 64-bit):
CPU Manufacturer: GenuineIntel
CPU Name: Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz
Number of Physical Cores: 4
Number of Logical Processors: 4
HyperThreading is DISABLED or unavailable on CPU
I don't have an HT-equipped machine to test.
I wonder what the results are if you run your code in a VM? My guess is it will always report physical = logical, but what it shows for manufacturer and name might be interesting...
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up