Review Board 2.0.15


ruby: consumer: avoid accessing wakeup times when waking up

Review Request #2213 - Created March 12, 2014 and submitted - Latest diff uploaded

Information
Nilay Vaish
gem5
default
Reviewers
Default
Changeset 10118:2d15c3d9ac0d
---------------------------
ruby: consumer: avoid accessing wakeup times when waking up
Each consumer object maintains a set of tick values when the object is supposed
to wakeup and do some processing.  As of now, the object accesses this set both
when scheduling a wakeup event and when the object actually wakes up.  The set
is accessed during wakeup to remove the current tick value from the set.  This
functionality is now being moved to the scheduling function where ticks are
removed at a later time.