CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2002
    Location
    Germany
    Posts
    55

    Get MHz of processor

    hello,

    can someone tell me how i get the MHz of the processor under Windows 98.
    Does it give a function i can call?
    See u again

  2. #2
    Join Date
    May 2002
    Location
    Somewhere over the rainbow
    Posts
    423
    you will probably need to make it in assembly and use fpu instructions for somehow more accurate
    but insted u can also check where microsoft saves ur cpu mhz information somewhere inside the registry.
    Bengi

  3. #3
    Join Date
    Sep 2002
    Posts
    1,747
    One place it is found is in the registry under
    HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0
    in the ~MHz key (a DWORD).
    */*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/

    "It's hard to believe in something you don't understand." -- the sidhi X-files episode

    galathaea: prankster, fablist, magician, liar

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