summaryrefslogtreecommitdiff
path: root/src/sim/eventq.hh
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2010-02-26 18:09:41 -0800
committerNathan Binkert <nate@binkert.org>2010-02-26 18:09:41 -0800
commita9f6c8edc340f3cf645edd7263a0d876cd0c93fd (patch)
treee6edb38f457b649274df4a50f438a6c5e5677af8 /src/sim/eventq.hh
parenta70f70ccbff28e80f247507204fa3d1eff8b1baf (diff)
downloadgem5-a9f6c8edc340f3cf645edd7263a0d876cd0c93fd.tar.xz
events: Give EventWrapped a default name and description
Diffstat (limited to 'src/sim/eventq.hh')
-rw-r--r--src/sim/eventq.hh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sim/eventq.hh b/src/sim/eventq.hh
index 92c38142c..a47c24c4d 100644
--- a/src/sim/eventq.hh
+++ b/src/sim/eventq.hh
@@ -466,6 +466,14 @@ class EventWrapper : public Event
}
void process() { (object->*F)(); }
+
+ const std::string
+ name() const
+ {
+ return object->name() + ".wrapped_event";
+ }
+
+ const char *description() const { return "EventWrapped"; }
};
inline void