Need to change state upon quiescing.
authorKevin Lim <ktlim@umich.edu>
Wed, 5 Jul 2006 19:57:02 +0000 (15:57 -0400)
committerKevin Lim <ktlim@umich.edu>
Wed, 5 Jul 2006 19:57:02 +0000 (15:57 -0400)
--HG--
extra : convert_revision : 25e3b0a463a0191cab9290665409d0abca6a179a

src/cpu/simple/timing.cc

index 0729f94898d58c2460bd72a7fb497bf879e2f120..ab4acdedabc68aafd7dbd7b74d30e9bb79cc5484 100644 (file)
@@ -118,6 +118,7 @@ TimingSimpleCPU::quiesce(Event *quiesce_event)
     // an access to complete.
     if (status() == Idle || status() == Running || status() == SwitchedOut) {
         DPRINTF(Config, "Ready to quiesce\n");
+        changeState(SimObject::QuiescedTiming);
         return false;
     } else {
         DPRINTF(Config, "Waiting to quiesce\n");