OLD | NEW |
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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 uint32 loss_timeout_count; | 49 uint32 loss_timeout_count; |
50 uint32 tlp_count; | 50 uint32 tlp_count; |
51 uint32 rto_count; // Count of times the rto timer fired. | 51 uint32 rto_count; // Count of times the rto timer fired. |
52 uint32 spurious_rto_count; | 52 uint32 spurious_rto_count; |
53 | 53 |
54 uint32 min_rtt_us; // Minimum RTT in microseconds. | 54 uint32 min_rtt_us; // Minimum RTT in microseconds. |
55 uint32 srtt_us; // Smoothed RTT in microseconds. | 55 uint32 srtt_us; // Smoothed RTT in microseconds. |
56 uint32 max_packet_size; // In bytes. | 56 uint32 max_packet_size; // In bytes. |
57 uint64 estimated_bandwidth; // In bytes per second. | 57 uint64 estimated_bandwidth; // In bytes per second. |
58 uint32 congestion_window; // In bytes | 58 uint32 congestion_window; // In bytes |
| 59 uint32 slow_start_threshold; // In bytes |
59 | 60 |
60 // Reordering stats for received packets. | 61 // Reordering stats for received packets. |
61 // Number of packets received out of sequence number order. | 62 // Number of packets received out of sequence number order. |
62 uint32 packets_reordered; | 63 uint32 packets_reordered; |
63 // Maximum reordering observed in sequence space. | 64 // Maximum reordering observed in sequence space. |
64 uint32 max_sequence_reordering; | 65 uint32 max_sequence_reordering; |
65 // Maximum reordering observed in microseconds | 66 // Maximum reordering observed in microseconds |
66 uint32 max_time_reordering_us; | 67 uint32 max_time_reordering_us; |
67 | 68 |
68 // The following stats are used only in TcpCubicSender. | 69 // The following stats are used only in TcpCubicSender. |
69 // The number of loss events from TCP's perspective. Each loss event includes | 70 // The number of loss events from TCP's perspective. Each loss event includes |
70 // one or more lost packets. | 71 // one or more lost packets. |
71 uint32 tcp_loss_events; | 72 uint32 tcp_loss_events; |
72 // Total amount of cwnd increase by TCPCubic in congestion avoidance. | 73 // Total amount of cwnd increase by TCPCubic in congestion avoidance. |
73 uint32 cwnd_increase_congestion_avoidance; | 74 uint32 cwnd_increase_congestion_avoidance; |
74 // Total amount of cwnd increase by TCPCubic in cubic mode. | 75 // Total amount of cwnd increase by TCPCubic in cubic mode. |
75 uint32 cwnd_increase_cubic_mode; | 76 uint32 cwnd_increase_cubic_mode; |
76 | 77 |
77 // Creation time, as reported by the QuicClock. | 78 // Creation time, as reported by the QuicClock. |
78 QuicTime connection_creation_time; | 79 QuicTime connection_creation_time; |
79 }; | 80 }; |
80 | 81 |
81 } // namespace net | 82 } // namespace net |
82 | 83 |
83 #endif // NET_QUIC_QUIC_CONNECTION_STATS_H_ | 84 #endif // NET_QUIC_QUIC_CONNECTION_STATS_H_ |
OLD | NEW |