projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a70f70c
)
events: Give EventWrapped a default name and description
author
Nathan Binkert
<nate@binkert.org>
Sat, 27 Feb 2010 02:09:41 +0000
(18:09 -0800)
committer
Nathan Binkert
<nate@binkert.org>
Sat, 27 Feb 2010 02:09:41 +0000
(18:09 -0800)
src/sim/eventq.hh
patch
|
blob
|
history
diff --git
a/src/sim/eventq.hh
b/src/sim/eventq.hh
index 92c38142c0758aaf9b7fe567da7e1fe0c4936bf8..a47c24c4d27deb0b8842ca422143b0bdb6292696 100644
(file)
--- 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