projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96091f3
)
sim: function for testing for auto deletion
author
Timothy Jones
<timothy.jones@cl.cam.ac.uk>
Tue, 4 Aug 2015 04:08:40 +0000
(23:08 -0500)
committer
Timothy Jones
<timothy.jones@cl.cam.ac.uk>
Tue, 4 Aug 2015 04:08:40 +0000
(23:08 -0500)
Committed by: Nilay Vaish <nilay@cs.wisc.edu>
src/sim/eventq.hh
patch
|
blob
|
history
diff --git
a/src/sim/eventq.hh
b/src/sim/eventq.hh
index 92cd241a63ee76c4e99474891c93d06670e526eb..6f393fc338751ba2b2c20fe1427cb5267b2a7587 100644
(file)
--- a/
src/sim/eventq.hh
+++ b/
src/sim/eventq.hh
@@
-338,6
+338,9
@@
class Event : public EventBase, public Serializable
/// See if this is a SimExitEvent (without resorting to RTTI)
bool isExitEvent() const { return flags.isSet(IsExitEvent); }
+ /// Check whether this event will auto-delete
+ bool isAutoDelete() const { return flags.isSet(AutoDelete); }
+
/// Get the time that the event is scheduled
Tick when() const { return _when; }