base: Fix gpu-compute output stream creation
[gem5.git] / src / cpu / quiesce_event.cc
index 8dd20db0230614af86f965f5e78f1814234b1a30..d5c3fe240208a53ac54977433f070a7b2747e3cf 100644 (file)
  * Authors: Kevin Lim
  */
 
-#include "cpu/thread_context.hh"
+#include "cpu/base.hh"
 #include "cpu/quiesce_event.hh"
+#include "cpu/thread_context.hh"
+#include "debug/Quiesce.hh"
 
 EndQuiesceEvent::EndQuiesceEvent(ThreadContext *_tc)
-    : Event(&mainEventQueue), tc(_tc)
+    : tc(_tc)
 {
 }
 
 void
 EndQuiesceEvent::process()
 {
+    DPRINTF(Quiesce, "activating %s\n", tc->getCpuPtr()->name());
     tc->activate();
 }
 
 const char*
-EndQuiesceEvent::description()
+EndQuiesceEvent::description() const
 {
-    return "End Quiesce Event.";
+    return "End Quiesce";
 }