summaryrefslogtreecommitdiff
path: root/src/python/m5/config.py
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2006-07-05 17:59:33 -0400
committerKevin Lim <ktlim@umich.edu>2006-07-05 17:59:33 -0400
commitd8fd09cc159a7b5b0d314a41b09cfcdef91de55f (patch)
tree336c7f2ae7e5366aa665b31fc7022ff8ad767e56 /src/python/m5/config.py
parentbd26dbdb13108bffed1c246a450029a3322dba4c (diff)
downloadgem5-d8fd09cc159a7b5b0d314a41b09cfcdef91de55f.tar.xz
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
Diffstat (limited to 'src/python/m5/config.py')
-rw-r--r--src/python/m5/config.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/python/m5/config.py b/src/python/m5/config.py
index 6f2873d40..cffe06984 100644
--- a/src/python/m5/config.py
+++ b/src/python/m5/config.py
@@ -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):