In quic, record the max consecutive retransmission timeout before making forward progress. stats only change, not protected.
This number will be recorded in TCS on server side, and will be used to populate histogram on client side.
PiperOrigin-RevId: 312123618
Change-Id: I5cd34b2d1559305b2825f6997bc4d7a5c4e2faf8
diff --git a/quic/core/quic_connection_stats.h b/quic/core/quic_connection_stats.h
index f4b747d..0aee970 100644
--- a/quic/core/quic_connection_stats.h
+++ b/quic/core/quic_connection_stats.h
@@ -139,6 +139,9 @@
// Packet number of first decrypted packet.
QuicPacketNumber first_decrypted_packet;
+
+ // Max consecutive retransmission timeout before making forward progress.
+ size_t max_consecutive_rto_with_forward_progress = 0;
};
} // namespace quic