Plain and simple, divide your goal framerate by the current framerate and change the ticker by that much. For example with a goal of 30 fps
What you see here is 3 frame rates 30,15 and ~7-8 fps (switch to 60 fps mode for 60, 30 and 15 fps) ... I wasn't expecting this to have a tiny blowup, it's just a burner...