diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2006-10-21 23:32:14 -0700 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2006-10-21 23:32:14 -0700 |
commit | 0159529343f31cc4a4496d5b5c2939f8e2e0bb95 (patch) | |
tree | 29ffc452a11d430ec7f1e09d59f8a5f5cce28502 /src/cpu | |
parent | 883ed108e443e7f9ea53fa13867a8ddf0ea9aea0 (diff) | |
download | gem5-0159529343f31cc4a4496d5b5c2939f8e2e0bb95.tar.xz |
Add Quiesce trace flag to track CPU quiesce/wakeup events.
--HG--
extra : convert_revision : 23be99d0fe6e2184523efe5d9e0a1ac7bf19d087
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/quiesce_event.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/quiesce_event.cc b/src/cpu/quiesce_event.cc index 8dd20db02..fa79e6d1e 100644 --- a/src/cpu/quiesce_event.cc +++ b/src/cpu/quiesce_event.cc @@ -28,6 +28,7 @@ * Authors: Kevin Lim */ +#include "cpu/base.hh" #include "cpu/thread_context.hh" #include "cpu/quiesce_event.hh" @@ -39,6 +40,7 @@ EndQuiesceEvent::EndQuiesceEvent(ThreadContext *_tc) void EndQuiesceEvent::process() { + DPRINTF(Quiesce, "activating %s\n", tc->getCpuPtr()->name()); tc->activate(); } |