| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 | 47 |
| 48 QuicByteCount bytes_spuriously_retransmitted; | 48 QuicByteCount bytes_spuriously_retransmitted; |
| 49 QuicPacketCount packets_spuriously_retransmitted; | 49 QuicPacketCount packets_spuriously_retransmitted; |
| 50 // Number of packets abandoned as lost by the loss detection algorithm. | 50 // Number of packets abandoned as lost by the loss detection algorithm. |
| 51 QuicPacketCount packets_lost; | 51 QuicPacketCount packets_lost; |
| 52 | 52 |
| 53 // Number of packets sent in slow start. | 53 // Number of packets sent in slow start. |
| 54 QuicPacketCount slowstart_packets_sent; | 54 QuicPacketCount slowstart_packets_sent; |
| 55 // Number of packets lost exiting slow start. | 55 // Number of packets lost exiting slow start. |
| 56 QuicPacketCount slowstart_packets_lost; | 56 QuicPacketCount slowstart_packets_lost; |
| 57 // Number of bytes lost exiting slow start. |
| 58 QuicByteCount slowstart_bytes_lost; |
| 57 | 59 |
| 58 QuicPacketCount packets_dropped; // Duplicate or less than least unacked. | 60 QuicPacketCount packets_dropped; // Duplicate or less than least unacked. |
| 59 size_t crypto_retransmit_count; | 61 size_t crypto_retransmit_count; |
| 60 // Count of times the loss detection alarm fired. At least one packet should | 62 // Count of times the loss detection alarm fired. At least one packet should |
| 61 // be lost when the alarm fires. | 63 // be lost when the alarm fires. |
| 62 size_t loss_timeout_count; | 64 size_t loss_timeout_count; |
| 63 size_t tlp_count; | 65 size_t tlp_count; |
| 64 size_t rto_count; // Count of times the rto timer fired. | 66 size_t rto_count; // Count of times the rto timer fired. |
| 65 | 67 |
| 66 int64_t min_rtt_us; // Minimum RTT in microseconds. | 68 int64_t min_rtt_us; // Minimum RTT in microseconds. |
| (...skipping 15 matching lines...) Expand all Loading... |
| 82 // one or more lost packets. | 84 // one or more lost packets. |
| 83 uint32_t tcp_loss_events; | 85 uint32_t tcp_loss_events; |
| 84 | 86 |
| 85 // Creation time, as reported by the QuicClock. | 87 // Creation time, as reported by the QuicClock. |
| 86 QuicTime connection_creation_time; | 88 QuicTime connection_creation_time; |
| 87 }; | 89 }; |
| 88 | 90 |
| 89 } // namespace net | 91 } // namespace net |
| 90 | 92 |
| 91 #endif // NET_QUIC_QUIC_CONNECTION_STATS_H_ | 93 #endif // NET_QUIC_QUIC_CONNECTION_STATS_H_ |
| OLD | NEW |