Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NumberOfFrames = 80000 -- Input number of frames
- emu.frameadvance()
- StartTime = os.clock()
- StartFrame = emu.framecount()
- for i = 1, NumberOfFrames do
- emu.frameadvance()
- end
- StopTime = os.clock()
- StopFrame = emu.framecount()
- emu.frameadvance()
- print("Frames:" .. StopFrame - StartFrame)
- print("Time:" .. StopTime - StartTime)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement