summaryrefslogtreecommitdiff
path: root/chromium/net/third_party/quiche/src/quic/core/quic_connection_stats.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/net/third_party/quiche/src/quic/core/quic_connection_stats.cc')
-rw-r--r--chromium/net/third_party/quiche/src/quic/core/quic_connection_stats.cc53
1 files changed, 4 insertions, 49 deletions
diff --git a/chromium/net/third_party/quiche/src/quic/core/quic_connection_stats.cc b/chromium/net/third_party/quiche/src/quic/core/quic_connection_stats.cc
index 128bc93aa39..89f7e546d88 100644
--- a/chromium/net/third_party/quiche/src/quic/core/quic_connection_stats.cc
+++ b/chromium/net/third_party/quiche/src/quic/core/quic_connection_stats.cc
@@ -6,55 +6,6 @@
namespace quic {
-QuicConnectionStats::QuicConnectionStats()
- : bytes_sent(0),
- packets_sent(0),
- stream_bytes_sent(0),
- packets_discarded(0),
- bytes_received(0),
- packets_received(0),
- packets_processed(0),
- stream_bytes_received(0),
- bytes_retransmitted(0),
- packets_retransmitted(0),
- bytes_spuriously_retransmitted(0),
- packets_spuriously_retransmitted(0),
- packets_lost(0),
- slowstart_count(0),
- slowstart_num_rtts(0),
- slowstart_packets_sent(0),
- slowstart_bytes_sent(0),
- slowstart_packets_lost(0),
- slowstart_bytes_lost(0),
- slowstart_duration(QuicTime::Delta::Zero()),
- slowstart_start_time(QuicTime::Zero()),
- packets_dropped(0),
- undecryptable_packets_received_before_handshake_complete(0),
- crypto_retransmit_count(0),
- loss_timeout_count(0),
- tlp_count(0),
- rto_count(0),
- pto_count(0),
- min_rtt_us(0),
- srtt_us(0),
- max_packet_size(0),
- max_received_packet_size(0),
- estimated_bandwidth(QuicBandwidth::Zero()),
- packets_reordered(0),
- max_sequence_reordering(0),
- max_time_reordering_us(0),
- tcp_loss_events(0),
- connection_creation_time(QuicTime::Zero()),
- blocked_frames_received(0),
- blocked_frames_sent(0),
- num_connectivity_probing_received(0),
- retry_packet_processed(false) {}
-
-QuicConnectionStats::QuicConnectionStats(const QuicConnectionStats& other) =
- default;
-
-QuicConnectionStats::~QuicConnectionStats() {}
-
std::ostream& operator<<(std::ostream& os, const QuicConnectionStats& s) {
os << "{ bytes_sent: " << s.bytes_sent;
os << " packets_sent: " << s.packets_sent;
@@ -98,6 +49,10 @@ std::ostream& operator<<(std::ostream& os, const QuicConnectionStats& s) {
<< s.num_connectivity_probing_received;
os << " retry_packet_processed: "
<< (s.retry_packet_processed ? "yes" : "no");
+ os << " num_coalesced_packets_received: " << s.num_coalesced_packets_received;
+ os << " num_coalesced_packets_processed: "
+ << s.num_coalesced_packets_processed;
+ os << " num_ack_aggregation_epochs: " << s.num_ack_aggregation_epochs;
os << " }";
return os;