gfe-relnote: (n/a) Record number of spurious losses in QuicConnectionStats. Stats only, not protected.
This is needed to calculate the spurious loss ratio from the loss algorithm.
PiperOrigin-RevId: 297897128
Change-Id: I44ca14e9946c586959b2afdd61960f35da5aae3e
diff --git a/quic/core/quic_connection_stats.h b/quic/core/quic_connection_stats.h
index 9f4deca..0edb7ba 100644
--- a/quic/core/quic_connection_stats.h
+++ b/quic/core/quic_connection_stats.h
@@ -45,6 +45,8 @@
QuicPacketCount packets_spuriously_retransmitted = 0;
// Number of packets abandoned as lost by the loss detection algorithm.
QuicPacketCount packets_lost = 0;
+ QuicPacketCount packet_spuriously_detected_lost = 0;
+
// The sum of the detection time of all lost packets. The detection time of a
// lost packet is defined as: T(detection) - T(send).
QuicTime::Delta total_loss_detection_time = QuicTime::Delta::Zero();