summaryrefslogtreecommitdiff
path: root/python/m5/config.py
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2005-03-22 00:08:54 -0500
committerNathan Binkert <binkertn@umich.edu>2005-03-22 00:08:54 -0500
commiteebe4e7fccbf3d8369b11b4d9a25952c823c0d84 (patch)
tree43dccfd052ec84c4e06f73a8eb4105923dca1ac2 /python/m5/config.py
parentfc04f8015f24e800061b14767d6829a30dd5c9a5 (diff)
downloadgem5-eebe4e7fccbf3d8369b11b4d9a25952c823c0d84.tar.xz
Sort the sim objects in the python output
python/m5/config.py: Turn back on the sorting of sim objects so we get consistent output. This can lead to slight changes in stats. --HG-- extra : convert_revision : 8ef9bd534cd2344acd69af7f52ee90b8b1afeb24
Diffstat (limited to 'python/m5/config.py')
-rw-r--r--python/m5/config.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/python/m5/config.py b/python/m5/config.py
index 42aee885b..74490f473 100644
--- a/python/m5/config.py
+++ b/python/m5/config.py
@@ -781,9 +781,8 @@ class Node(object):
# before cpu0). Changing ordering can also influence timing
# in the current memory system, as caches get added to a bus
# in different orders which affects their priority in the
- # case of simulataneous requests. We should uncomment the
- # following line once we take care of that issue.
- # self.children.sort(lambda x,y: cmp(x.name, y.name))
+ # case of simulataneous requests.
+ self.children.sort(lambda x,y: cmp(x.name, y.name))
children = [ c.name for c in self.children if not c.paramcontext]
print 'children =', ' '.join(children)