From 27ef642a763bc6e0c79f0326b4c07018a42205f9 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sat, 28 Oct 2006 03:44:55 -0400 Subject: One last adjustment to get rid of skew in the simple atomic cpu. --HG-- extra : convert_revision : 8e46929ed7da5dae6888f773de4e1ecc9b249fe0 --- src/cpu/simple/atomic.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cpu') 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; -- cgit v1.2.3