Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NumberOfFrames = 480 -- Input number of frames
- StartTime = os.clock()
- StartFrame = emu.framecount()
- function Foobar_End()
- StopTime = os.clock()
- StopFrame = emu.framecount()
- TimeResult = StopTime - StartTime
- FrameResult = StopFrame - StartFrame
- print("Frames:" .. FrameResult)
- print("Time:" .. TimeResult)
- print("Framerate:" .. FrameResult/TimeResult)
- end
- emu.registerexit(Foobar_End)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement