tport.cc (4929:6db35d0c81c6) tport.cc (4970:d0ed47928f9c)
1/*
2 * Copyright (c) 2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 81 unchanged lines hidden (view full) ---

90 return true;
91}
92
93
94void
95SimpleTimingPort::schedSendTiming(PacketPtr pkt, Tick when)
96{
97 assert(when > curTick);
1/*
2 * Copyright (c) 2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 81 unchanged lines hidden (view full) ---

90 return true;
91}
92
93
94void
95SimpleTimingPort::schedSendTiming(PacketPtr pkt, Tick when)
96{
97 assert(when > curTick);
98 assert(when < curTick + Clock::Int::ms);
98
99 // Nothing is on the list: add it and schedule an event
100 if (transmitList.empty() || when < transmitList.front().tick) {
101 transmitList.push_front(DeferredPacket(when, pkt));
102 schedSendEvent(when);
103 return;
104 }
105

--- 88 unchanged lines hidden ---
99
100 // Nothing is on the list: add it and schedule an event
101 if (transmitList.empty() || when < transmitList.front().tick) {
102 transmitList.push_front(DeferredPacket(when, pkt));
103 schedSendEvent(when);
104 return;
105 }
106

--- 88 unchanged lines hidden ---