1# Copyright (c) 2006-2008 The Regents of The University of Michigan 2# Copyright (c) 2010 Advanced Micro Devices, Inc. 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 493 unchanged lines hidden (view full) --- 502 maxtick, options.repeat_switch) 503 else: 504 exit_event = benchCheckpoints(options, maxtick, cptdir) 505 506 print 'Exiting @ tick %i because %s' % (m5.curTick(), exit_event.getCause()) 507 if options.checkpoint_at_end: 508 m5.checkpoint(joinpath(cptdir, "cpt.%d")) 509 |
510 if not m5.options.interactive: 511 sys.exit(exit_event.getCode()) |