title: C++ QueryPerformanceCounter and QueryPerformanceFrequency
body: <p>I have been attempting to create a timer for my game and I heard about QueryPerformanceCounter and QueryPerformanceFrequency. Could someone please explain how these can be used to calculate time/fps/ticks in a game loop?.</p>