gfe-relnote: Add some bbr startup stats into QuicConnectionStats. Stats only. Not protected.
PiperOrigin-RevId: 241339065
Change-Id: Idef0c196eb0ab6bbe202a33d79e65a88a43678fd
diff --git a/quic/core/quic_sent_packet_manager.h b/quic/core/quic_sent_packet_manager.h
index 4310014..c3c227e 100644
--- a/quic/core/quic_sent_packet_manager.h
+++ b/quic/core/quic_sent_packet_manager.h
@@ -235,6 +235,14 @@
return send_algorithm_->GetSlowStartThreshold() / kDefaultTCPMSS;
}
+ // Return the total time spent in slow start so far. If the sender is
+ // currently in slow start, the return value will include the duration between
+ // the most recent entry to slow start and now.
+ //
+ // Only implemented for BBR. Return QuicTime::Delta::Infinite() for other
+ // congestion controllers.
+ QuicTime::Delta GetSlowStartDuration() const;
+
// Returns debugging information about the state of the congestion controller.
std::string GetDebugState() const;