File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -243,6 +243,7 @@ TcpBbr::SetPacingRate(Ptr<TcpSocketState> tcb, double gain)
243
243
if (m_isPipeFilled || rate > tcb->m_pacingRate )
244
244
{
245
245
tcb->m_pacingRate = rate;
246
+ NS_LOG_DEBUG (" Pacing rate updated. New value: " << tcb->m_pacingRate);
246
247
}
247
248
}
248
249
@@ -488,6 +489,7 @@ TcpBbr::UpdateTargetCwnd(Ptr<TcpSocketState> tcb)
488
489
uint32_t
489
490
TcpBbr::AckAggregationCwnd ()
490
491
{
492
+ NS_LOG_FUNCTION (this );
491
493
uint32_t maxAggrBytes; // MaxBW * 0.1 secs
492
494
uint32_t aggrCwndBytes = 0 ;
493
495
@@ -503,6 +505,7 @@ TcpBbr::AckAggregationCwnd()
503
505
void
504
506
TcpBbr::UpdateAckAggregation (Ptr <TcpSocketState> tcb, const TcpRateOps::TcpRateSample& rs)
505
507
{
508
+ NS_LOG_FUNCTION (this << tcb << rs);
506
509
uint32_t expectedAcked;
507
510
uint32_t extraAck;
508
511
uint32_t epochProp;
@@ -601,6 +604,7 @@ TcpBbr::SetCwnd(Ptr<TcpSocketState> tcb, const TcpRateOps::TcpRateSample& rs)
601
604
tcb->m_cWnd = tcb->m_cWnd .Get () + rs.m_ackedSacked ;
602
605
}
603
606
tcb->m_cWnd = std::max (tcb->m_cWnd .Get (), m_minPipeCwnd);
607
+ NS_LOG_DEBUG (" Congestion window updated. New value:" << tcb->m_cWnd);
604
608
605
609
done:
606
610
ModulateCwndForProbeRTT (tcb);
You can’t perform that action at this time.
0 commit comments