O3CPU: O3's tick event gets squashed when it is switched out. When repeatedly
authorTimothy M. Jones <tjones1@inf.ed.ac.uk>
Thu, 22 Jul 2010 17:47:43 +0000 (18:47 +0100)
committerTimothy M. Jones <tjones1@inf.ed.ac.uk>
Thu, 22 Jul 2010 17:47:43 +0000 (18:47 +0100)
commit9a3533ec843d8337e2181cc3ee2b92f78a17092c
tree488c9c7b62a3b45c4d090c019646ca361cb5fb1b
parent8c76715979682cbf0e653128c253805a80c40269
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.
src/cpu/o3/cpu.cc