summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-02-27 10:37:48 +0000
committerGabe Black <gblack@eecs.umich.edu>2007-02-27 10:37:48 +0000
commitdc8cc8de3da85199a2dbbb6e3ccf75337fdf2de2 (patch)
tree2894fa94f9b023037f54c7d8dda33241421803cf /configs
parenta86ad3a512205f05f84d7011f442fb5dc41210d7 (diff)
downloadgem5-dc8cc8de3da85199a2dbbb6e3ccf75337fdf2de2.tar.xz
Fix issue with twolf where the presence or absence of two files, smred.sav or smred.sv2, would affect the outcome of the program. These names are based on the input file names which are in turn based on the input set selected. There may be more files like this generated for larger input sets, for example "mdred.sv3"
--HG-- extra : convert_revision : f4f1d3fd0fb28468b0ee507aaadf3c14aa9cf924
Diffstat (limited to 'configs')
-rw-r--r--configs/common/cpu2000.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/configs/common/cpu2000.py b/configs/common/cpu2000.py
index 7dc7a7afe..ca91fd1c0 100644
--- a/configs/common/cpu2000.py
+++ b/configs/common/cpu2000.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2006 The Regents of The University of Michigan
+# Copyright (c) 2006-2007 The Regents of The University of Michigan
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -104,6 +104,8 @@ class Benchmark(object):
# dirs for input & output files for this input set
inputs_dir = joinpath(data_dir, input_set, 'input')
outputs_dir = joinpath(data_dir, input_set, 'output')
+ # keep around which input set was specified
+ self.input_set = input_set
if not isdir(inputs_dir):
raise AttributeError, '%s not found' % inputs_dir