diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-07-05 17:59:33 -0400 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-07-05 17:59:33 -0400 |
commit | d8fd09cc159a7b5b0d314a41b09cfcdef91de55f (patch) | |
tree | 336c7f2ae7e5366aa665b31fc7022ff8ad767e56 /src/sim/main.cc | |
parent | bd26dbdb13108bffed1c246a450029a3322dba4c (diff) | |
download | gem5-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/main.cc')
-rw-r--r-- | src/sim/main.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/sim/main.cc b/src/sim/main.cc index 3eb7fa95d..e96a44930 100644 --- a/src/sim/main.cc +++ b/src/sim/main.cc @@ -523,19 +523,19 @@ simulate(Tick num_cycles = -1) } Event * -createCountedQuiesce() +createCountedDrain() { - return new CountedQuiesceEvent(); + return new CountedDrainEvent(); } void -cleanupCountedQuiesce(Event *counted_quiesce) +cleanupCountedDrain(Event *counted_drain) { - CountedQuiesceEvent *event = - dynamic_cast<CountedQuiesceEvent *>(counted_quiesce); + CountedDrainEvent *event = + dynamic_cast<CountedDrainEvent *>(counted_drain); if (event == NULL) { - fatal("Called cleanupCountedQuiesce() on an event that was not " - "a CountedQuiesceEvent."); + fatal("Called cleanupCountedDrain() on an event that was not " + "a CountedDrainEvent."); } assert(event->getCount() == 0); delete event; |