Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
into zizzer.eecs.umich.edu:/z/stever/bk/m5-head --HG-- extra : convert_revision : daaeb6a596b08fbedd6a14833dcb3825c637d486
This commit is contained in:
commit
dbd60761f5
1 changed files with 6 additions and 2 deletions
|
@ -709,8 +709,12 @@ class Node(object):
|
||||||
if self.children:
|
if self.children:
|
||||||
# instantiate children in same order they were added for
|
# instantiate children in same order they were added for
|
||||||
# backward compatibility (else we can end up with cpu1
|
# backward compatibility (else we can end up with cpu1
|
||||||
# before cpu0).
|
# before cpu0). Changing ordering can also influence timing
|
||||||
self.children.sort(lambda x,y: cmp(x.name, y.name))
|
# 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))
|
||||||
children = [ c.name for c in self.children if not c.paramcontext]
|
children = [ c.name for c in self.children if not c.paramcontext]
|
||||||
print 'children =', ' '.join(children)
|
print 'children =', ' '.join(children)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue