O3CPU: O3's tick event gets squashed when it is switched out. When repeatedly
Review Request #50 - Created July 9, 2010 and submitted
O3CPU: O3's tick event gets squashed when it is switched out. When repeatedly switching between O3 and another CPU, O3's tick event might still be scheduled in the event queue (as squashed). Therefore, check for a squashed tick event as well as a non-scheduled event when taking over from another CPU and deal with it accordingly.
Posted (July 11, 2010, 8:19 a.m.)
src/cpu/o3/cpu.cc (Diff revision 1)
As an alternative, you could use just use reschedule with the always flag set to true. This will handle all cases.
Review request changed
Updated (July 16, 2010, 11:25 a.m.)
Revision 2 (+2 -2)
Posted (July 16, 2010, 11:28 a.m.)
Just a minor change to use reschedule() instead of distinguishing between squashed and unscheduled events.