|
-
Aug 8th, 2008, 06:13 AM
#1
Thread Starter
Fanatic Member
hyperthreading
What .net code do I use to get the status of hyperthreading on the machine i.e. on or off ?
Thanks
-
Aug 8th, 2008, 07:08 AM
#2
Re: hyperthreading
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
-
Aug 8th, 2008, 09:15 AM
#3
Re: hyperthreading
Correct. Things like the Hyperthreading setting are stored in a custom set of CPU registers that can really only be accessed via assembly code.
-
Aug 8th, 2008, 09:16 AM
#4
Re: hyperthreading
 Originally Posted by Jenner
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?
-
Aug 8th, 2008, 09:24 AM
#5
Re: hyperthreading
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.
-
Aug 8th, 2008, 09:36 AM
#6
Re: hyperthreading
Ahh I see, makes sense
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|