inorder-debug: fix cpu tick debug message
authorKorey Sewell <ksewell@umich.edu>
Fri, 25 Sep 2009 15:18:55 +0000 (11:18 -0400)
committerKorey Sewell <ksewell@umich.edu>
Fri, 25 Sep 2009 15:18:55 +0000 (11:18 -0400)
src/cpu/inorder/cpu.cc

index 486edc87b7c24e6b6af9ae06bc4d53b2192d7ca7..969359fae88408f368048573674213d1d64d7532 100644 (file)
@@ -435,7 +435,7 @@ InOrderCPU::tick()
             //Tick next_tick = curTick + cycles(1);
             //tickEvent.schedule(next_tick);
             mainEventQueue.schedule(&tickEvent, nextCycle(curTick + 1));
-            DPRINTF(InOrderCPU, "Scheduled CPU for next tick @ %i.\n", nextCycle() + curTick);
+            DPRINTF(InOrderCPU, "Scheduled CPU for next tick @ %i.\n", nextCycle(curTick + 1));
         }
     }