| 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 27 matching lines...) Expand all Loading... |
| 38 QuicPacketCount packets_processed; | 38 QuicPacketCount packets_processed; |
| 39 QuicByteCount stream_bytes_received; // Bytes received in a stream frame. | 39 QuicByteCount stream_bytes_received; // Bytes received in a stream frame. |
| 40 | 40 |
| 41 QuicByteCount bytes_retransmitted; | 41 QuicByteCount bytes_retransmitted; |
| 42 QuicPacketCount packets_retransmitted; | 42 QuicPacketCount packets_retransmitted; |
| 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 |
| 49 // Number of packets sent in slow start. |
| 50 QuicPacketCount slowstart_packets_sent; |
| 48 // Number of packets lost exiting slow start. | 51 // Number of packets lost exiting slow start. |
| 49 QuicPacketCount slowstart_packets_lost; | 52 QuicPacketCount slowstart_packets_lost; |
| 50 | 53 |
| 51 QuicPacketCount packets_revived; | 54 QuicPacketCount packets_revived; |
| 52 QuicPacketCount packets_dropped; // Duplicate or less than least unacked. | 55 QuicPacketCount packets_dropped; // Duplicate or less than least unacked. |
| 53 size_t crypto_retransmit_count; | 56 size_t crypto_retransmit_count; |
| 54 // Count of times the loss detection alarm fired. At least one packet should | 57 // Count of times the loss detection alarm fired. At least one packet should |
| 55 // be lost when the alarm fires. | 58 // be lost when the alarm fires. |
| 56 size_t loss_timeout_count; | 59 size_t loss_timeout_count; |
| 57 size_t tlp_count; | 60 size_t tlp_count; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 75 // one or more lost packets. | 78 // one or more lost packets. |
| 76 uint32 tcp_loss_events; | 79 uint32 tcp_loss_events; |
| 77 | 80 |
| 78 // Creation time, as reported by the QuicClock. | 81 // Creation time, as reported by the QuicClock. |
| 79 QuicTime connection_creation_time; | 82 QuicTime connection_creation_time; |
| 80 }; | 83 }; |
| 81 | 84 |
| 82 } // namespace net | 85 } // namespace net |
| 83 | 86 |
| 84 #endif // NET_QUIC_QUIC_CONNECTION_STATS_H_ | 87 #endif // NET_QUIC_QUIC_CONNECTION_STATS_H_ |
| OLD | NEW |