about frames count:
1 - i capture the actual time with GetTickCount() api function to TempStart.
2 - inside of game loop i count the frames;
3 - i capture the next time with GetTickCount() api function to TempEnd.
4 - i do TempEnd - TempStart and if is more and igual than 1000, i put the frames count to another variable and i reset the frame count.
is these pesudo-code correct?