In the demo application, reset the FPS counter every hundred frames.