From: Gabe Black Date: Sat, 28 Oct 2006 07:44:55 +0000 (-0400) Subject: One last adjustment to get rid of skew in the simple atomic cpu. X-Git-Tag: m5_2.0_beta2~70^2~18 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=27ef642a763bc6e0c79f0326b4c07018a42205f9;p=gem5.git One last adjustment to get rid of skew in the simple atomic cpu. --HG-- extra : convert_revision : 8e46929ed7da5dae6888f773de4e1ecc9b249fe0 --- diff --git a/src/cpu/simple/atomic.cc b/src/cpu/simple/atomic.cc index a72f6361a..11e4d2acb 100644 --- a/src/cpu/simple/atomic.cc +++ b/src/cpu/simple/atomic.cc @@ -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;