X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fcpu%2Fquiesce_event.cc;h=d5c3fe240208a53ac54977433f070a7b2747e3cf;hb=8faeec44a69ee56ca9252cd36a2bb8e22d02bddd;hp=8dd20db0230614af86f965f5e78f1814234b1a30;hpb=15a8f050605919579e81b6abb98a0b596334216d;p=gem5.git diff --git a/src/cpu/quiesce_event.cc b/src/cpu/quiesce_event.cc index 8dd20db02..d5c3fe240 100644 --- a/src/cpu/quiesce_event.cc +++ b/src/cpu/quiesce_event.cc @@ -28,22 +28,25 @@ * 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"; }