| 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 29 matching lines...) Expand all Loading... |
| 40 | 40 |
| 41 uint64 bytes_retransmitted; | 41 uint64 bytes_retransmitted; |
| 42 uint32 packets_retransmitted; | 42 uint32 packets_retransmitted; |
| 43 | 43 |
| 44 uint32 packets_spuriously_retransmitted; | 44 uint32 packets_spuriously_retransmitted; |
| 45 uint32 packets_lost; | 45 uint32 packets_lost; |
| 46 | 46 |
| 47 uint32 packets_revived; | 47 uint32 packets_revived; |
| 48 uint32 packets_dropped; // duplicate or less than least unacked. | 48 uint32 packets_dropped; // duplicate or less than least unacked. |
| 49 uint32 crypto_retransmit_count; | 49 uint32 crypto_retransmit_count; |
| 50 uint32 loss_timeout_count; // Count of times the loss detection alarm fired. |
| 50 uint32 tlp_count; | 51 uint32 tlp_count; |
| 51 uint32 rto_count; | 52 uint32 rto_count; |
| 52 | 53 |
| 53 uint32 rtt; // In microseconds | 54 uint32 rtt; // In microseconds |
| 54 uint64 estimated_bandwidth; | 55 uint64 estimated_bandwidth; |
| 55 // TODO(satyamshekhar): Add window_size, mss and mtu. | 56 // TODO(satyamshekhar): Add window_size, mss and mtu. |
| 56 }; | 57 }; |
| 57 | 58 |
| 58 } // namespace net | 59 } // namespace net |
| 59 | 60 |
| 60 #endif // NET_QUIC_QUIC_CONNECTION_STATS_H_ | 61 #endif // NET_QUIC_QUIC_CONNECTION_STATS_H_ |
| OLD | NEW |