O3CPU: O3's tick event gets squashed when it is switched out. When repeatedly
Review Request #50 - Created July 9, 2010 and submitted
Information | |
---|---|
Timothy Jones | |
gem5 | |
Reviewers | |
Default | |
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.)
Diff: |
Revision 2 (+2 -2) |
---|