Original Post
I'm trying to make my game framerate independant (so the game runs at the same speed on all computers). After reading several tutorials I am still confused but instead of asking for an explanation, I'd only like for somebody to explain QueryPerformanceCounter to me. Let me start off by saying that QueryPerformanceCounter on my computer returns 3579545. I understand that to get the current time I should divide QueryPerformanceCounter / QueryPerformanceFrequency. With that said, what exactly is QueryPerformanceCounter? I know it's a "high resolution timer" but what does that mean? Does the time it returns loop? (can I get the same values twice?)