This seems to be more accurate than the popular method. Samples are a frame skip. The more samples you give, the longer you'll have to wait for a framerate update. This is for slightly more averaged frame skips I spent like 5 minutes on this lol