Add some instrumentation to investigate a possible use after free.
[chromium-blink-merge.git] / net / quic / quic_connection_stats.cc
blobe581c17c25436e64949250c0be851211cded158d
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
3 // found in the LICENSE file.
5 #include "net/quic/quic_connection_stats.h"
7 using std::ostream;
9 namespace net {
11 QuicConnectionStats::QuicConnectionStats()
12 : bytes_sent(0),
13 packets_sent(0),
14 stream_bytes_sent(0),
15 packets_discarded(0),
16 bytes_received(0),
17 packets_received(0),
18 packets_processed(0),
19 stream_bytes_received(0),
20 bytes_retransmitted(0),
21 packets_retransmitted(0),
22 bytes_spuriously_retransmitted(0),
23 packets_spuriously_retransmitted(0),
24 packets_lost(0),
25 slowstart_packets_sent(0),
26 slowstart_packets_lost(0),
27 packets_revived(0),
28 packets_dropped(0),
29 crypto_retransmit_count(0),
30 loss_timeout_count(0),
31 tlp_count(0),
32 rto_count(0),
33 min_rtt_us(0),
34 srtt_us(0),
35 max_packet_size(0),
36 max_received_packet_size(0),
37 estimated_bandwidth(QuicBandwidth::Zero()),
38 packets_reordered(0),
39 max_sequence_reordering(0),
40 max_time_reordering_us(0),
41 tcp_loss_events(0),
42 connection_creation_time(QuicTime::Zero()) {
45 QuicConnectionStats::~QuicConnectionStats() {}
47 } // namespace net