minor formatting tweak

norm-ccd
bebopagogo 2025-04-22 16:15:58 -04:00
parent 4fd768f9cc
commit 3802edadf1
2 changed files with 24 additions and 1 deletions

View File

@ -188,6 +188,28 @@ class NormLossEstimator2
}; // end class NormLossEstimator2 }; // end class NormLossEstimator2
class NormCongestionDetector
{
// This class implements a delay-based congestion indicator
// based on feedback from NORM receivers. Similar to loss-based
// congestion detection, this detector monitors the history of
// RTT measurement
// NOTES:
// 1) One challenge to consider is reverse path contribution
// to RTT may create "false positives" on RTT change detection.
// A technique to mitigate is to use reference timing that the
// receiver can establish on expected sender packet arrivals
// given rate information to helps separate sender->receiver
// contribution to RTT versus the reverse path receiver->sender
// aspect. E.g., the receiver could compare the stats of arriving
// sender packets in reference to advertised rate to have an indication
// of increasing (or decreasing) sender->receiver latency.
//
// 2)
//
}; // end class NormCongestionDetector
class NormAckingNode : public NormNode class NormAckingNode : public NormNode
{ {
public: public:

View File

@ -3535,7 +3535,8 @@ bool NormLossEstimator::Update(const struct timeval& currentTime,
} }
else if (delta > 0) // new packet arrival else if (delta > 0) // new packet arrival
{ {
if (ecn || (delta > 1)) outage = true; if (ecn || (delta > 1))
outage = true;
index_seq = seq; index_seq = seq;
} }
else // (delta <= 0) // old misordered or duplicate packet else // (delta <= 0) // old misordered or duplicate packet