Gosu::fps
However, if you need to know the potential FPS, then you have to calculate it yourself by measuring the time spent in draw/update/callbacks compared to time not spent in them (I do this in my games, since it is a much more clear metric than the basic fps, which is nearly always at the cap of 60fps anyway).