summaryrefslogtreecommitdiff
path: root/configs/common
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2013-03-22 17:31:24 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2013-03-22 17:31:24 -0500
commit546ffb2d6d09f84956b0bc2e472fb77bbe0fc2b6 (patch)
tree8798fa057f5ac1d498a1d0cfad85661eb3debe83 /configs/common
parent04fe6b486addb75ebb7160dae01001561744d1a7 (diff)
downloadgem5-546ffb2d6d09f84956b0bc2e472fb77bbe0fc2b6.tar.xz
config: return exit event instead of cause
changeset: a4739b6f799d made some changes that where an exit event should have been returned in place of exit cause. This patch corrects the error.
Diffstat (limited to 'configs/common')
-rw-r--r--configs/common/Simulation.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/configs/common/Simulation.py b/configs/common/Simulation.py
index 6f0e3cee0..fc6ae0f5f 100644
--- a/configs/common/Simulation.py
+++ b/configs/common/Simulation.py
@@ -212,7 +212,7 @@ def scriptCheckpoints(options, maxtick, cptdir):
m5.checkpoint(joinpath(cptdir, "cpt.%d"))
num_checkpoints += 1
- return exit_cause
+ return exit_event
def benchCheckpoints(options, maxtick, cptdir):
exit_event = m5.simulate(maxtick)
@@ -464,7 +464,7 @@ def run(options, root, testsys, cpu_class):
# subsequent periods of <period>. Checkpoint instructions
# received from the benchmark running are ignored and skipped in
# favor of command line checkpoint instructions.
- exit_cause = scriptCheckpoints(options, maxtick, cptdir)
+ exit_event = scriptCheckpoints(options, maxtick, cptdir)
else:
if options.fast_forward:
m5.stats.reset()