You should use MWBase::Environent::getFrameDuration instead. The FPS value is only updated every second or so.