Hyperthreading - DOTNET
This is a discussion on Hyperthreading - DOTNET ; Hi,
Can anybody tell me how to find whether any system has hyperthreading
enable or disable using .Net languages or Win SDK ....
-
Hyperthreading
Hi,
Can anybody tell me how to find whether any system has hyperthreading
enable or disable using .Net languages or Win SDK .
-
Re: Hyperthreading
"Yogesh" <ask4yogesh> wrote in message
news:1126149209.603845.322110@g44g2000cwa.googlegroups.com...
> Can anybody tell me how to find whether any system has hyperthreading
> enable or disable using .Net languages or Win SDK .
I don't have a hyperthreaded machine here to test against but I believe if
you call GetSystemInfo() on a hyperthreaded system that the
dwNumberOfProcessors member of the structure returned will be greater than
1.
Regards,
Will
-
Re: Hyperthreading
Well ,thanks for replying but it does not solved my problem , i can get
the number of processors in the system but may be the system is multi
processors....
I think we can not distinguised the processors whether it a physical or
virtual processor from the System Info.... if it is possible please let
me known..
Thanks & Regard
Yogesh Kumar
-
Re: Hyperthreading
"Yogesh" <ask4yogesh> wrote in message
news:1126155240.025797.159210@f14g2000cwb.googlegroups.com..> > I think we
can not distinguised the processors whether it a physical or
> virtual processor from the System Info.... if it is possible please let
> me known..
As far as I know, you can't get that information from Windows. You might
want to post again in the kernel group
microsoft.public.win32.programmer.kernel
or take a look at this from Intel
http://www.intel.com/cd/ids/develope...924.htm?page=6
Regards,
Will
-
Re: Hyperthreading
"Yogesh" <ask4yogesh> wrote in message
news:1126155240.025797.159210@f14g2000cwb.googlegroups.com...
> Well ,thanks for replying but it does not solved my problem , i can get
> the number of processors in the system but may be the system is multi
> processors....
>
> I think we can not distinguised the processors whether it a physical or
> virtual processor from the System Info.... if it is possible please let
> me known..
>
> Thanks & Regard
> Yogesh Kumar
>
The next version of VC++ (vs2005) has an intrinsig function __cpuid which
can read all processor features like HT and much more, when using the
current version you will have to go down the assembly level to get at this
info, I'm pretty sure more info and an assembly code snip can be obtained
from the Intel developer site as pointed to by William.
Willy.
Similar Threads
-
By Application Development in forum DOTNET
Replies: 3
Last Post: 04-13-2007, 07:05 AM
-
By Application Development in forum Graphics
Replies: 5
Last Post: 11-04-2003, 06:49 PM
-
By Application Development in forum Java-Games
Replies: 1
Last Post: 07-29-2003, 12:37 AM
-
By Application Development in forum Java
Replies: 1
Last Post: 07-29-2003, 12:37 AM
-
By Application Development in forum Java
Replies: 2
Last Post: 07-27-2003, 11:38 AM