Merge ktlim@zizzer:/bk/newmem
into zamp.eecs.umich.edu:/z/ktlim2/clean/newmem-merge
configs/test/fs.py:
configs/test/test.py:
SCCS merged
--HG--
extra : convert_revision : 7b2dbcd5881fac01dec38001c4131e73b5be52b5
This commit is contained in:
@@ -547,8 +547,7 @@ class SimObject(object):
|
||||
count = 0
|
||||
# ParamContexts don't serialize
|
||||
if isinstance(self, SimObject) and not isinstance(self, ParamContext):
|
||||
if not self._ccObject.drain(drain_event):
|
||||
count = 1
|
||||
count += self._ccObject.drain(drain_event)
|
||||
if recursive:
|
||||
for child in self._children.itervalues():
|
||||
count += child.startDrain(drain_event, True)
|
||||
@@ -561,7 +560,7 @@ class SimObject(object):
|
||||
child.resume()
|
||||
|
||||
def changeTiming(self, mode):
|
||||
if isinstance(self, SimObject) and not isinstance(self, ParamContext):
|
||||
if isinstance(self, System):
|
||||
self._ccObject.setMemoryMode(mode)
|
||||
for child in self._children.itervalues():
|
||||
child.changeTiming(mode)
|
||||
|
||||
Reference in New Issue
Block a user