accurate FPS control and GPU timming