Adds missing function get_fps

So that we can have an FPS counter, of course!