CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2004
    Posts
    2

    detect Hyperthreading

    Hello,

    I´m programming an Installer which installs different Versions of a 3rd party Software:
    - older Versions don´t run properly when Hyperthreading is enabled
    - newer Versiosn do run properly.

    Until now, the user has to read the manual to know this, has to know if Hyperthreading is enabled on his machine and has to choose the correct Software-Version manually.

    In my Installer-class i wish to detect if Hyperthreading is enabled and disable the option to install the SW-Versions which are not compatible accordingly.

    I´ve been searching for a way to get this info about Hyperhtreading, but have not found anything - Any suggestions to resolve my Problem?

    Thank you for your help!

    Christian

  2. #2
    Join Date
    Nov 2007
    Posts
    1

    Re: detect Hyperthreading

    Hi,

    You can make use of the code available at http://softwarecommunity.intel.com/W...tection/63.htm, compile the code to an ".exe" & by reading the output of this exe file , we can find whether it is HT enabled or not.

    You can copy the code from the url starting from:
    "Note : if the reader wishes to create a cpp file by copying the source listing below, please ensure only plain ascii text are being pasted into a standard ascii file."

    Regards
    Jayakrishna.K

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured