Update statistics to use cycles properly instead of ticks
[gem5.git] / src / mem / tport.cc
index b1a6a48131cfa3f3c5ae4856b6c61ac0c70bd9c3..9fa27046b30b52374788131bddf78b29a4401477 100644 (file)
@@ -95,6 +95,7 @@ void
 SimpleTimingPort::schedSendTiming(PacketPtr pkt, Tick when)
 {
     assert(when > curTick);
+    assert(when < curTick + Clock::Int::ms);
 
     // Nothing is on the list: add it and schedule an event
     if (transmitList.empty() || when < transmitList.front().tick) {