Move Prober to ccutils. (#3175)

* keep track of RTX bytes separately

* packet group

* Packet group of 50ms

* Minor refactoring

* rate calculator

* send bit rate

* WIP

* comment

* reduce packet infos size

* extended twcc seq num

* fix packet info

* WIP

* queuing delay

* refactor

* config

* callbacks

* fixes

* clean up

* remove debug file, fix rate calculation

* fmt

* fix probes

* format

* notes

* check loss

* tweak detection settings

* 24-bit wrap

* clean up a bit

* limit symbol list to number of packets

* fmt

* clean up

* lost

* fixes

* fmt

* rename

* fixes

* fmt

* use min/max

* hold on early warning of congestion

* make note about need for all optimal allocation on hold release

* estimate trend in congested state

* tweaks

* quantized

* fmt

* TrendDetector generics

* CTR trend

* tweaks

* config

* config

* comments

* clean up

* consistent naming

* pariticpant level setting

* log usage mode

* probing hacks

* WIP

* no lock

* packet group config

* ctr trend refactor

* cleanup and fixes

* format

* debug

* format

* move prober to ccutils

* clean up

* clean up
This commit is contained in:
Raja Subramanian
2024-11-15 00:05:59 +05:30
committed by GitHub
parent 9e4dae7107
commit adaf56a30d
7 changed files with 166 additions and 112 deletions
+4 -1
View File
@@ -221,7 +221,7 @@ func (p *packetGroup) MinSendTime() int64 {
}
func (p *packetGroup) SendWindow() (int64, int64) {
return p.maxSendTime, p.minSendTime
return p.minSendTime, p.maxSendTime
}
func (p *packetGroup) PropagatedQueuingDelay() (int64, bool) {
@@ -275,6 +275,9 @@ func (p *packetGroup) MarshalLogObject(e zapcore.ObjectEncoder) error {
})
ts.Merge(p.Traffic())
e.AddObject("trafficStats", ts)
e.AddInt64("queuingDelay", p.queuingDelay)
pqd, _ := p.PropagatedQueuingDelay()
e.AddInt64("propagatedQueuingDelay", pqd)
e.AddBool("isFinalized", p.isFinalized)
return nil