|
-
Jun 1st, 2013, 07:26 PM
#11
Re: Nintendo Emulator v0.65 (VB6)
 Originally Posted by Niya
I have a question Jacob....Why do you use QueryPerformanceCounter ? What's its function ? MSDN says returns a count of a high resolution counter. What does that mean in layman's terms ?
Because its a high resolution timer. Practically the highest resolution timer out there. And can be used for real time related things such as game physics, locking framerates, getting FPS, timing things, anything to do with time, etc. You could alternatively use the timeGetTime API. But its not as a high resolution. But a good alternative if you feel QueryPerformanceCounter is overkill. Its a matter of preference.
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
|