| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 uint32 slowstart_packets_lost; // Number of packets lost exiting slow start. | 42 uint32 slowstart_packets_lost; // Number of packets lost exiting slow start. |
| 43 | 43 |
| 44 uint32 packets_revived; | 44 uint32 packets_revived; |
| 45 uint32 packets_dropped; // Duplicate or less than least unacked. | 45 uint32 packets_dropped; // Duplicate or less than least unacked. |
| 46 uint32 crypto_retransmit_count; | 46 uint32 crypto_retransmit_count; |
| 47 // Count of times the loss detection alarm fired. At least one packet should | 47 // Count of times the loss detection alarm fired. At least one packet should |
| 48 // be lost when the alarm fires. | 48 // be lost when the alarm fires. |
| 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 | 53 |
| 53 uint32 min_rtt_us; // Minimum RTT in microseconds. | 54 uint32 min_rtt_us; // Minimum RTT in microseconds. |
| 54 uint32 srtt_us; // Smoothed RTT in microseconds. | 55 uint32 srtt_us; // Smoothed RTT in microseconds. |
| 55 uint32 max_packet_size; // In bytes. | 56 uint32 max_packet_size; // In bytes. |
| 56 uint64 estimated_bandwidth; // In bytes per second. | 57 uint64 estimated_bandwidth; // In bytes per second. |
| 57 uint32 congestion_window; // In bytes | 58 uint32 congestion_window; // In bytes |
| 58 | 59 |
| 59 // Reordering stats for received packets. | 60 // Reordering stats for received packets. |
| 60 // Number of packets received out of sequence number order. | 61 // Number of packets received out of sequence number order. |
| 61 uint32 packets_reordered; | 62 uint32 packets_reordered; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 73 // Total amount of cwnd increase by TCPCubic in cubic mode. | 74 // Total amount of cwnd increase by TCPCubic in cubic mode. |
| 74 uint32 cwnd_increase_cubic_mode; | 75 uint32 cwnd_increase_cubic_mode; |
| 75 | 76 |
| 76 // Creation time, as reported by the QuicClock. | 77 // Creation time, as reported by the QuicClock. |
| 77 QuicTime connection_creation_time; | 78 QuicTime connection_creation_time; |
| 78 }; | 79 }; |
| 79 | 80 |
| 80 } // namespace net | 81 } // namespace net |
| 81 | 82 |
| 82 #endif // NET_QUIC_QUIC_CONNECTION_STATS_H_ | 83 #endif // NET_QUIC_QUIC_CONNECTION_STATS_H_ |
| OLD | NEW |