Is there a way to detect what the FPS is currently at in Lua? I don't mean the FPS limit, but the actual FPS the game is currently running at.