changeset c88952d67db2 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=c88952d67db2
description:
        sim: function for testing for auto deletion

        Committed by: Nilay Vaish <[email protected]>

diffstat:

 src/sim/eventq.hh |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r 72781d410e48 -r c88952d67db2 src/sim/eventq.hh
--- a/src/sim/eventq.hh Mon Aug 03 23:08:40 2015 -0500
+++ b/src/sim/eventq.hh Mon Aug 03 23:08:40 2015 -0500
@@ -338,6 +338,9 @@
     /// 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; }
 
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to