What .net code do I use to get the status of hyperthreading on the machine i.e. on or off ?
Thanks
Printable View
What .net code do I use to get the status of hyperthreading on the machine i.e. on or off ?
Thanks
As far as I know, you cant do it just using managed .NET code (or WMI). All I found is this exe from Intel that you could call from your program. Its a command line tool so you could try using the example that someone posted in the codebank on how to retrieve output from a command line window to get the results: http://softwarecommunity.intel.com/a...s/eng/2728.htm
Correct. Things like the Hyperthreading setting are stored in a custom set of CPU registers that can really only be accessed via assembly code.
I'm surprised it isnt exposed through WMI though... I mean at the end of the day everything boils down to Assembly code doesnt it so I dont see why its any different to anything else?Quote:
Originally Posted by Jenner
WMI is a little more standardized. It only looks at CPU registers that are part of the standards. Every CPU has some custom registers outside of the standard for various things (the internal CPU temperature probe is another one) and Microsoft doesn't want to write and maintain WMI to have a laundry list of hardware with lists of their special registers.
Ahh I see, makes sense :)