all repos — mgba @ f9e79a1a4280b99e3abf0a83de005fd33211a539

mGBA Game Boy Advance Emulator

Tweak perf settings to run a more abridged version
Jeffrey Pfau jeffrey@endrift.com
Thu, 09 Oct 2014 02:47:06 -0700
commit

f9e79a1a4280b99e3abf0a83de005fd33211a539

parent

cc255b794b0456540af5442cf1129d86f19e9324

1 files changed, 1 insertions(+), 3 deletions(-)

jump to
M tools/perf.pytools/perf.py

@@ -83,9 +83,7 @@

def add_tests(self, rom): if self.wall: self.tests.append(WallClockTest(rom, self.wall)) - self.tests.append(WallClockTest(rom, self.wall, renderer=None)) if self.game: - self.tests.append(GameClockTest(rom, self.game)) self.tests.append(GameClockTest(rom, self.game, renderer=None)) def run(self):

@@ -103,7 +101,7 @@ return results

if __name__ == '__main__': parser = argparse.ArgumentParser() - parser.add_argument('-w', '--wall-time', type=float, default=120, metavar='TIME', help='wall-clock time') + parser.add_argument('-w', '--wall-time', type=float, default=60, metavar='TIME', help='wall-clock time') parser.add_argument('-g', '--game-frames', type=int, default=120*60, metavar='FRAMES', help='game-clock frames') parser.add_argument('-o', '--out', metavar='FILE', help='output file path') parser.add_argument('directory', help='directory containing ROM files')