This kind of reminds me of farbrausch's kkapture tool for recording demoscene prods. http://www.farb-rausch.de/~fg/kkapture/ It hooks into a bunch of popular ways of getting the current time, and just returns the previous time + some preset delta. Specifically, even if it takes six seconds to render a single frame of a demo, when the program updates its timer to make the next frame, kkapture will tell it that only (say) 1/30 of a second has passed. That way, if you encode each rendered frame to a video, it plays back at a smooth 30 fps even though it took much longer than 1/30 of a second to render each frame.