Internal QUICHE change

PiperOrigin-RevId: 289142942
Change-Id: I0cf0496aae931fd267e87180dad3656b99ef6118
diff --git a/quic/core/congestion_control/bbr_sender.cc b/quic/core/congestion_control/bbr_sender.cc
index f80d4ce..a279bc7 100644
--- a/quic/core/congestion_control/bbr_sender.cc
+++ b/quic/core/congestion_control/bbr_sender.cc
@@ -864,6 +864,9 @@
             std::max(target_rate,
                      QuicBandwidth::FromBytesAndTimeDelta(
                          initial_congestion_window_, rtt_stats_->min_rtt()));
+        if (stats_) {
+          stats_->overshooting_detected_with_network_parameters_adjusted = true;
+        }
         bytes_lost_with_network_parameters_adjusted_ = 0;
         network_parameters_adjusted_ = false;
       }
diff --git a/quic/core/quic_connection_stats.h b/quic/core/quic_connection_stats.h
index c76d591..7015554 100644
--- a/quic/core/quic_connection_stats.h
+++ b/quic/core/quic_connection_stats.h
@@ -112,6 +112,10 @@
   // Number of ack aggregation epochs. For the same number of bytes acked, the
   // smaller this value, the more ack aggregation is going on.
   uint64_t num_ack_aggregation_epochs = 0;
+
+  // Whether overshooting is detected (and pacing rate decreases) during start
+  // up with network parameters adjusted.
+  bool overshooting_detected_with_network_parameters_adjusted = false;
 };
 
 }  // namespace quic