From a9f6c8edc340f3cf645edd7263a0d876cd0c93fd Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Fri, 26 Feb 2010 18:09:41 -0800 Subject: events: Give EventWrapped a default name and description --- src/sim/eventq.hh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/sim/eventq.hh') 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 -- cgit v1.2.3