Ǹeed to specify the precision required, and the use case.
Analogue scopes' sweep time is typically specified to be 2%, and not necessarily linear.
Digital scopes' sweep speed is derived from a crystal, so will be much more accurate and linearity shouldn't be an issue.
Consider using an RF generator, optionally driven from an external calibrated and adjusted 10MHz source.
The intent was for (analog) scope calibration, so accuracy not extreme, but there are a few times recently that a simple pulse generator with reasonably fast edges (1nS?) would have been useful. An RF generator is quite a good idea but would need a squarer on the output. A TG501 would do but they are hard to find these days.
Follow the analogue scopes' service instructions to see what repetition period you require. 1GHz would only be useful if measuring the sweep linearity of a multi-GHz scope, and there aren't many of those!
For adjusting the vertical response, a 1GHz signal would
not work, but having a risetime <1ns (not nanoSiemen) is preferable. Again, RTFServiceM to see what risetime your scope requires.
Using (and making) a <1ns risetime generator isn't difficult, but it requires care and understanding the fundamental physics of electronic components.