| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 | 43 |
| 44 QuicByteCount bytes_spuriously_retransmitted; | 44 QuicByteCount bytes_spuriously_retransmitted; |
| 45 QuicPacketCount packets_spuriously_retransmitted; | 45 QuicPacketCount packets_spuriously_retransmitted; |
| 46 // Number of packets abandoned as lost by the loss detection algorithm. | 46 // Number of packets abandoned as lost by the loss detection algorithm. |
| 47 QuicPacketCount packets_lost; | 47 QuicPacketCount packets_lost; |
| 48 // Number of packets lost exiting slow start. | 48 // Number of packets lost exiting slow start. |
| 49 QuicPacketCount slowstart_packets_lost; | 49 QuicPacketCount slowstart_packets_lost; |
| 50 | 50 |
| 51 QuicPacketCount packets_revived; | 51 QuicPacketCount packets_revived; |
| 52 QuicPacketCount packets_dropped; // Duplicate or less than least unacked. | 52 QuicPacketCount packets_dropped; // Duplicate or less than least unacked. |
| 53 uint32 crypto_retransmit_count; | 53 size_t crypto_retransmit_count; |
| 54 // Count of times the loss detection alarm fired. At least one packet should | 54 // Count of times the loss detection alarm fired. At least one packet should |
| 55 // be lost when the alarm fires. | 55 // be lost when the alarm fires. |
| 56 uint32 loss_timeout_count; | 56 size_t loss_timeout_count; |
| 57 size_t tlp_count; | 57 size_t tlp_count; |
| 58 size_t rto_count; // Count of times the rto timer fired. | 58 size_t rto_count; // Count of times the rto timer fired. |
| 59 size_t spurious_rto_count; | 59 size_t spurious_rto_count; |
| 60 | 60 |
| 61 int64 min_rtt_us; // Minimum RTT in microseconds. | 61 int64 min_rtt_us; // Minimum RTT in microseconds. |
| 62 int64 srtt_us; // Smoothed RTT in microseconds. | 62 int64 srtt_us; // Smoothed RTT in microseconds. |
| 63 QuicByteCount max_packet_size; | 63 QuicByteCount max_packet_size; |
| 64 QuicBandwidth estimated_bandwidth; | 64 QuicBandwidth estimated_bandwidth; |
| 65 | 65 |
| 66 // Reordering stats for received packets. | 66 // Reordering stats for received packets. |
| (...skipping 13 matching lines...) Expand all Loading... |
| 80 // Total amount of cwnd increase by TCPCubic in cubic mode. | 80 // Total amount of cwnd increase by TCPCubic in cubic mode. |
| 81 QuicPacketCount cwnd_increase_cubic_mode; | 81 QuicPacketCount cwnd_increase_cubic_mode; |
| 82 | 82 |
| 83 // Creation time, as reported by the QuicClock. | 83 // Creation time, as reported by the QuicClock. |
| 84 QuicTime connection_creation_time; | 84 QuicTime connection_creation_time; |
| 85 }; | 85 }; |
| 86 | 86 |
| 87 } // namespace net | 87 } // namespace net |
| 88 | 88 |
| 89 #endif // NET_QUIC_QUIC_CONNECTION_STATS_H_ | 89 #endif // NET_QUIC_QUIC_CONNECTION_STATS_H_ |
| OLD | NEW |