summaryrefslogtreecommitdiff
path: root/src/sim/eventq.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/eventq.hh')
-rw-r--r--src/sim/eventq.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sim/eventq.hh b/src/sim/eventq.hh
index 92cd241a6..6f393fc33 100644
--- 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; }