changeset 16963bc29912 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=16963bc29912
description:
events: Give EventWrapped a default name and description
diffstat:
1 file changed, 8 insertions(+)
src/sim/eventq.hh | 8 ++++++++
diffs (18 lines):
diff -r aba5f7216636 -r 16963bc29912 src/sim/eventq.hh
--- a/src/sim/eventq.hh Thu Feb 25 10:13:40 2010 -0800
+++ b/src/sim/eventq.hh Fri Feb 26 18:09:41 2010 -0800
@@ -466,6 +466,14 @@
}
void process() { (object->*F)(); }
+
+ const std::string
+ name() const
+ {
+ return object->name() + ".wrapped_event";
+ }
+
+ const char *description() const { return "EventWrapped"; }
};
inline void
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev