Lines 219-227
LteRlcSm::DoReceivePdu (Ptr<Packet> p)
|
Link Here
|
---|
|
219 |
// RLC Performance evaluation |
219 |
// RLC Performance evaluation |
220 |
RlcTag rlcTag; |
220 |
RlcTag rlcTag; |
221 |
Time delay; |
221 |
Time delay; |
222 |
if (p->FindFirstMatchingByteTag(rlcTag)) |
222 |
if (p->PeekPacketTag (rlcTag)) |
223 |
{ |
223 |
{ |
224 |
delay = Simulator::Now() - rlcTag.GetSenderTimestamp (); |
224 |
delay = Simulator::Now() - rlcTag.GetSenderTimestamp (); |
|
|
225 |
p->RemovePacketTag (rlcTag); |
225 |
} |
226 |
} |
226 |
NS_LOG_LOGIC (" RNTI=" << m_rnti |
227 |
NS_LOG_LOGIC (" RNTI=" << m_rnti |
227 |
<< " LCID=" << (uint32_t) m_lcid |
228 |
<< " LCID=" << (uint32_t) m_lcid |
Lines 243-249
LteRlcSm::DoNotifyTxOpportunity (uint32_t bytes, uint8_t layer, uint8_t harqId)
|
Link Here
|
---|
|
243 |
|
244 |
|
244 |
// RLC Performance evaluation |
245 |
// RLC Performance evaluation |
245 |
RlcTag tag (Simulator::Now()); |
246 |
RlcTag tag (Simulator::Now()); |
246 |
params.pdu->AddByteTag (tag); |
247 |
params.pdu->AddPacketTag (tag); |
247 |
NS_LOG_LOGIC (" RNTI=" << m_rnti |
248 |
NS_LOG_LOGIC (" RNTI=" << m_rnti |
248 |
<< " LCID=" << (uint32_t) m_lcid |
249 |
<< " LCID=" << (uint32_t) m_lcid |
249 |
<< " size=" << bytes); |
250 |
<< " size=" << bytes); |
250 |
- |
|
|