This timer counts frames (not seconds) so it stays accurate to the game's framerate even with lag. Also there is a framerate counter which measures how many frames per second the game's code is running at.