From: Nathan Binkert Date: Sat, 27 Feb 2010 02:09:41 +0000 (-0800) Subject: events: Give EventWrapped a default name and description X-Git-Tag: stable_2012_02_02~1500 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a9f6c8edc340f3cf645edd7263a0d876cd0c93fd;p=gem5.git events: Give EventWrapped a default name and description --- 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