Added get average framerate.