Rename quiesce to drain to avoid confusion with the pseudo instruction.
src/cpu/simple/timing.cc:
src/cpu/simple/timing.hh:
src/python/m5/__init__.py:
src/python/m5/config.py:
src/sim/main.cc:
src/sim/sim_events.cc:
src/sim/sim_events.hh:
src/sim/sim_object.cc:
src/sim/sim_object.hh:
Rename quiesce to drain.
--HG--
extra : convert_revision : fc3244a3934812e1edb8050f1f51f30382baf774
This commit is contained in:
@@ -543,15 +543,15 @@ class SimObject(object):
|
||||
for child in self._children.itervalues():
|
||||
child.connectPorts()
|
||||
|
||||
def startQuiesce(self, quiesce_event, recursive):
|
||||
def startDrain(self, drain_event, recursive):
|
||||
count = 0
|
||||
# ParamContexts don't serialize
|
||||
if isinstance(self, SimObject) and not isinstance(self, ParamContext):
|
||||
if self._ccObject.quiesce(quiesce_event):
|
||||
if self._ccObject.drain(drain_event):
|
||||
count = 1
|
||||
if recursive:
|
||||
for child in self._children.itervalues():
|
||||
count += child.startQuiesce(quiesce_event, True)
|
||||
count += child.startDrain(drain_event, True)
|
||||
return count
|
||||
|
||||
def resume(self):
|
||||
|
||||
Reference in New Issue
Block a user