Review Board 2.0.15


eventq: add a function for replacing head of the queue

Review Request #967 - Created Jan. 3, 2012 and submitted - Latest diff uploaded

Information
Nilay Vaish
gem5
default
Reviewers
Default
eventq: add a function for replacing head of the queue
This patch adds a function for replacing the event at the head of the queue
with another event. This helps in running a different set of events. Events
already scheduled can processed by replacing the original head event back.
This function has been specifically added to support cache warmup and
cooldown required for creating and restoring checkpoints.