diff options
author | Nathan Binkert <nate@binkert.org> | 2010-02-26 18:09:41 -0800 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2010-02-26 18:09:41 -0800 |
commit | a9f6c8edc340f3cf645edd7263a0d876cd0c93fd (patch) | |
tree | e6edb38f457b649274df4a50f438a6c5e5677af8 /src | |
parent | a70f70ccbff28e80f247507204fa3d1eff8b1baf (diff) | |
download | gem5-a9f6c8edc340f3cf645edd7263a0d876cd0c93fd.tar.xz |
events: Give EventWrapped a default name and description
Diffstat (limited to 'src')
-rw-r--r-- | src/sim/eventq.hh | 8 |
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 |