-
November 26th, 2008, 03:31 PM
#1
WINAPI to get cpu speed?
Besides grabbing the information from the registry, is there a simple winapi method I can invoke to get the cpu speed.
-- Brandon Fogerty
Http://www.brandonfogerty.com
"Not believing doesn't make something not true"
May GOD Bless, Strengthen, Guide, Protect, and Reveal Wisdom to you Always!
-
November 26th, 2008, 05:24 PM
#2
Re: WINAPI to get cpu speed?
There isn't a Windows function you can just call to my knowledge, but this should help:
CPU Speed
You use a high resolution counter to count some cycles, I read this same way in a book, I think it was "Game Coding Complete" but not sure.
-
November 26th, 2008, 10:22 PM
#3
Re: WINAPI to get cpu speed?
You could imagine that you're the 256 000th to ask that. for decades
Then it's of course a Win32 FAQ for 18 years (news://comp.os.ms-windows.programmer.win32)
cpuid, WMI, etc...
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
|