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 #include "net/quic/quic_connection_stats.h" | 5 #include "net/quic/quic_connection_stats.h" |
6 | 6 |
7 using std::ostream; | 7 using std::ostream; |
8 | 8 |
9 namespace net { | 9 namespace net { |
10 | 10 |
11 QuicConnectionStats::QuicConnectionStats() | 11 QuicConnectionStats::QuicConnectionStats() |
12 : bytes_sent(0), | 12 : bytes_sent(0), |
13 packets_sent(0), | 13 packets_sent(0), |
14 stream_bytes_sent(0), | 14 stream_bytes_sent(0), |
15 packets_discarded(0), | 15 packets_discarded(0), |
16 bytes_received(0), | 16 bytes_received(0), |
17 packets_received(0), | 17 packets_received(0), |
18 packets_processed(0), | 18 packets_processed(0), |
19 stream_bytes_received(0), | 19 stream_bytes_received(0), |
20 bytes_retransmitted(0), | 20 bytes_retransmitted(0), |
21 packets_retransmitted(0), | 21 packets_retransmitted(0), |
22 bytes_spuriously_retransmitted(0), | 22 bytes_spuriously_retransmitted(0), |
23 packets_spuriously_retransmitted(0), | 23 packets_spuriously_retransmitted(0), |
24 packets_lost(0), | 24 packets_lost(0), |
| 25 slowstart_packets_sent(0), |
25 slowstart_packets_lost(0), | 26 slowstart_packets_lost(0), |
26 packets_revived(0), | 27 packets_revived(0), |
27 packets_dropped(0), | 28 packets_dropped(0), |
28 crypto_retransmit_count(0), | 29 crypto_retransmit_count(0), |
29 loss_timeout_count(0), | 30 loss_timeout_count(0), |
30 tlp_count(0), | 31 tlp_count(0), |
31 rto_count(0), | 32 rto_count(0), |
32 min_rtt_us(0), | 33 min_rtt_us(0), |
33 srtt_us(0), | 34 srtt_us(0), |
34 max_packet_size(0), | 35 max_packet_size(0), |
35 estimated_bandwidth(QuicBandwidth::Zero()), | 36 estimated_bandwidth(QuicBandwidth::Zero()), |
36 packets_reordered(0), | 37 packets_reordered(0), |
37 max_sequence_reordering(0), | 38 max_sequence_reordering(0), |
38 max_time_reordering_us(0), | 39 max_time_reordering_us(0), |
39 tcp_loss_events(0), | 40 tcp_loss_events(0), |
40 connection_creation_time(QuicTime::Zero()) { | 41 connection_creation_time(QuicTime::Zero()) { |
41 } | 42 } |
42 | 43 |
43 QuicConnectionStats::~QuicConnectionStats() {} | 44 QuicConnectionStats::~QuicConnectionStats() {} |
44 | 45 |
45 } // namespace net | 46 } // namespace net |
OLD | NEW |