summaryrefslogtreecommitdiff
path: root/src/sim/sim_events.hh
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/sim/sim_events.hh
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/sim/sim_events.hh')
-rw-r--r--src/sim/sim_events.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sim/sim_events.hh b/src/sim/sim_events.hh
index 50368f258..3c4a9dd05 100644
--- a/src/sim/sim_events.hh
+++ b/src/sim/sim_events.hh
@@ -67,13 +67,13 @@ class SimLoopExitEvent : public Event
virtual const char *description();
};
-class CountedQuiesceEvent : public SimLoopExitEvent
+class CountedDrainEvent : public SimLoopExitEvent
{
private:
- // Count down to quiescing
+ // Count of how many objects have not yet drained
int count;
public:
- CountedQuiesceEvent()
+ CountedDrainEvent()
: count(0)
{ }
void process();