Internal QUICHE change
PiperOrigin-RevId: 290129985
Change-Id: I23d112a79b77da8084c078e9ed2b34d7cc07e863
diff --git a/quic/core/quic_connection_stats.h b/quic/core/quic_connection_stats.h
index 7015554..a99c055 100644
--- a/quic/core/quic_connection_stats.h
+++ b/quic/core/quic_connection_stats.h
@@ -15,6 +15,7 @@
#include "net/third_party/quiche/src/quic/platform/api/quic_export.h"
namespace quic {
+
// Structure to hold stats for a QuicConnection.
struct QUIC_EXPORT_PRIVATE QuicConnectionStats {
QUIC_EXPORT_PRIVATE friend std::ostream& operator<<(
@@ -60,6 +61,14 @@
// Time spent in slow start. Populated for BBRv1 and BBRv2.
QuicTimeAccumulator slowstart_duration;
+ // Number of PROBE_BW cycles. Populated for BBRv1 and BBRv2.
+ uint32_t bbr_num_cycles = 0;
+ // Number of PROBE_BW cycles shortened for reno coexistence. BBRv2 only.
+ uint32_t bbr_num_short_cycles_for_reno_coexistence = 0;
+ // Whether BBR exited STARTUP due to excessive loss. Populated for BBRv1 and
+ // BBRv2.
+ bool bbr_exit_startup_due_to_loss = false;
+
QuicPacketCount packets_dropped = 0; // Duplicate or less than least unacked.
// Packets that failed to decrypt when they were first received,