One last adjustment to get rid of skew in the simple atomic cpu.
--HG-- extra : convert_revision : 8e46929ed7da5dae6888f773de4e1ecc9b249fe0
This commit is contained in:
@@ -240,7 +240,7 @@ AtomicSimpleCPU::activateContext(int thread_num, int delay)
|
||||
|
||||
notIdleFraction++;
|
||||
//Make sure ticks are still on multiples of cycles
|
||||
Tick nextTick = curTick + cycles(1) - 1;
|
||||
Tick nextTick = curTick + cycles(delay + 1) - 1;
|
||||
nextTick -= (nextTick % (cycles(1)));
|
||||
tickEvent.schedule(nextTick);
|
||||
_status = Running;
|
||||
|
||||
Reference in New Issue
Block a user