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

Side by Side Diff: net/quic/quic_connection_stats.h

Issue 198303004: Adds a varz variable to track the fraction of times we end up in cubic (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/quic/congestion_control/cubic_test.cc ('k') | net/quic/quic_connection_stats.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_QUIC_QUIC_CONNECTION_STATS_H_ 5 #ifndef NET_QUIC_QUIC_CONNECTION_STATS_H_
6 #define NET_QUIC_QUIC_CONNECTION_STATS_H_ 6 #define NET_QUIC_QUIC_CONNECTION_STATS_H_
7 7
8 #include <ostream> 8 #include <ostream>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 uint32 packets_dropped; // duplicate or less than least unacked. 48 uint32 packets_dropped; // duplicate or less than least unacked.
49 uint32 crypto_retransmit_count; 49 uint32 crypto_retransmit_count;
50 uint32 loss_timeout_count; // Count of times the loss detection alarm fired. 50 uint32 loss_timeout_count; // Count of times the loss detection alarm fired.
51 uint32 tlp_count; 51 uint32 tlp_count;
52 uint32 rto_count; 52 uint32 rto_count;
53 53
54 uint32 rtt; // In microseconds 54 uint32 rtt; // In microseconds
55 uint64 estimated_bandwidth; 55 uint64 estimated_bandwidth;
56 56
57 // The following stats are used only in TcpCubicSender. 57 // The following stats are used only in TcpCubicSender.
58 // Total amount of cwnd increase by TCPCubic in congestion avoidance.
59 uint32 cwnd_increase_congestion_avoidance;
58 // Total amount of cwnd increase by TCPCubic in cubic mode. 60 // Total amount of cwnd increase by TCPCubic in cubic mode.
59 uint32 cwnd_increase_cubic_mode; 61 uint32 cwnd_increase_cubic_mode;
60 // Total amount of cwnd increase by TCPCubic in reno mode. This includes
61 // cwnd increases that actually happened in cubic mode, but where reno mode
62 // would have yielded the same increase.
63 uint32 cwnd_increase_reno_mode;
64 // TODO(satyamshekhar): Add window_size, mss and mtu. 62 // TODO(satyamshekhar): Add window_size, mss and mtu.
65 }; 63 };
66 64
67 } // namespace net 65 } // namespace net
68 66
69 #endif // NET_QUIC_QUIC_CONNECTION_STATS_H_ 67 #endif // NET_QUIC_QUIC_CONNECTION_STATS_H_
OLDNEW
« no previous file with comments | « net/quic/congestion_control/cubic_test.cc ('k') | net/quic/quic_connection_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698