Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(311)

Unified Diff: net/quic/congestion_control/cubic.h

Issue 964483005: Remove stats for recording reno vs cubic mode in internal server's varz. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/quic/congestion_control/cubic.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/congestion_control/cubic.h
diff --git a/net/quic/congestion_control/cubic.h b/net/quic/congestion_control/cubic.h
index 76faf5612487c2e1a2593169a08f07e476cd2fa0..c0adad4431e74c6b375959b909979533a7cb5e68 100644
--- a/net/quic/congestion_control/cubic.h
+++ b/net/quic/congestion_control/cubic.h
@@ -19,7 +19,7 @@ namespace net {
class NET_EXPORT_PRIVATE Cubic {
public:
- Cubic(const QuicClock* clock, QuicConnectionStats* stats);
+ explicit Cubic(const QuicClock* clock);
void SetNumConnections(int num_connections);
@@ -48,9 +48,6 @@ class NET_EXPORT_PRIVATE Cubic {
float Alpha() const;
float Beta() const;
- // Update congestion control variables in QuicConnectionStats.
- void UpdateCongestionControlStats(QuicPacketCount new_cubic_mode_cwnd,
- QuicPacketCount new_reno_mode_cwnd);
const QuicClock* clock_;
// Number of connections to simulate.
@@ -85,9 +82,6 @@ class NET_EXPORT_PRIVATE Cubic {
// Last congestion window in packets computed by cubic function.
QuicPacketCount last_target_congestion_window_;
- // QuicConnectionStats includes congestion control related stats.
- QuicConnectionStats* stats_;
-
DISALLOW_COPY_AND_ASSIGN(Cubic);
};
« no previous file with comments | « no previous file | net/quic/congestion_control/cubic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698