You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add detailed debug logging to TrafficSim for improved visibility
Enhanced `TrafficSim` debug logs with detailed metrics and state information, including RTT/jitter percentiles, packet sequences, and stats reporting. Introduced the `mapKeys` helper function for logging map contents.
log.Infof("[trafficsim] REVERSE handleReverseAck seq=%d ALREADY RECEIVED rtt=%dms", seq, recvTime-pt.Sent)
1512
+
log.Printf("[trafficsim] REVERSE handleReverseAck seq=%d ALREADY RECEIVED rtt=%dms", seq, recvTime-pt.Sent)
1495
1513
} else {
1496
-
log.Infof("[trafficsim] REVERSE handleReverseAck seq=%d NOT FOUND in PacketTimes (current size=%d)", seq, len(cycle.PacketTimes))
1514
+
log.Printf("[trafficsim] REVERSE handleReverseAck seq=%d NOT FOUND in PacketTimes (current size=%d) - may be from rotated cycle", seq, len(cycle.PacketTimes))
1497
1515
}
1498
1516
}
1499
1517
1500
1518
// reportCycleStats calculates and reports stats for a completed reverse cycle
0 commit comments