Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Side by Side Diff: net/quic/quic_connection_stats.cc

Issue 396533003: Populate FasterExtraStats for QUIC requests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/quic/quic_connection_stats.h ('k') | net/quic/quic_connection_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
(...skipping 14 matching lines...) Expand all
25 slowstart_packets_lost(0), 25 slowstart_packets_lost(0),
26 packets_revived(0), 26 packets_revived(0),
27 packets_dropped(0), 27 packets_dropped(0),
28 crypto_retransmit_count(0), 28 crypto_retransmit_count(0),
29 loss_timeout_count(0), 29 loss_timeout_count(0),
30 tlp_count(0), 30 tlp_count(0),
31 rto_count(0), 31 rto_count(0),
32 spurious_rto_count(0), 32 spurious_rto_count(0),
33 min_rtt_us(0), 33 min_rtt_us(0),
34 srtt_us(0), 34 srtt_us(0),
35 max_packet_size(0),
35 estimated_bandwidth(0), 36 estimated_bandwidth(0),
37 congestion_window(0),
38 slow_start_threshold(0),
36 packets_reordered(0), 39 packets_reordered(0),
37 max_sequence_reordering(0), 40 max_sequence_reordering(0),
38 max_time_reordering_us(0), 41 max_time_reordering_us(0),
39 tcp_loss_events(0), 42 tcp_loss_events(0),
40 cwnd_increase_congestion_avoidance(0), 43 cwnd_increase_congestion_avoidance(0),
41 cwnd_increase_cubic_mode(0), 44 cwnd_increase_cubic_mode(0),
42 connection_creation_time(QuicTime::Zero()) { 45 connection_creation_time(QuicTime::Zero()) {
43 } 46 }
44 47
45 QuicConnectionStats::~QuicConnectionStats() {} 48 QuicConnectionStats::~QuicConnectionStats() {}
(...skipping 18 matching lines...) Expand all
64 << ", packets dropped:" << s.packets_dropped 67 << ", packets dropped:" << s.packets_dropped
65 << ", crypto retransmit count: " << s.crypto_retransmit_count 68 << ", crypto retransmit count: " << s.crypto_retransmit_count
66 << ", tlp count: " << s.tlp_count 69 << ", tlp count: " << s.tlp_count
67 << ", rto count: " << s.rto_count 70 << ", rto count: " << s.rto_count
68 << ", spurious_rto_count:" << s.spurious_rto_count 71 << ", spurious_rto_count:" << s.spurious_rto_count
69 << ", min_rtt(us): " << s.min_rtt_us 72 << ", min_rtt(us): " << s.min_rtt_us
70 << ", srtt(us): " << s.srtt_us 73 << ", srtt(us): " << s.srtt_us
71 << ", max packet size: " << s.max_packet_size 74 << ", max packet size: " << s.max_packet_size
72 << ", estimated bandwidth: " << s.estimated_bandwidth 75 << ", estimated bandwidth: " << s.estimated_bandwidth
73 << ", congestion window: " << s.congestion_window 76 << ", congestion window: " << s.congestion_window
77 << ", slow start threshold: " << s.slow_start_threshold
74 << ", tcp_loss_events: " << s.tcp_loss_events 78 << ", tcp_loss_events: " << s.tcp_loss_events
75 << ", packets reordered: " << s.packets_reordered 79 << ", packets reordered: " << s.packets_reordered
76 << ", max sequence reordering: " << s.max_sequence_reordering 80 << ", max sequence reordering: " << s.max_sequence_reordering
77 << ", max time reordering(us): " << s.max_time_reordering_us 81 << ", max time reordering(us): " << s.max_time_reordering_us
78 << ", total amount of cwnd increase in TCPCubic, in congestion avoidance: " 82 << ", total amount of cwnd increase in TCPCubic, in congestion avoidance: "
79 << s.cwnd_increase_congestion_avoidance 83 << s.cwnd_increase_congestion_avoidance
80 << ", amount of cwnd increase in TCPCubic, in cubic mode: " 84 << ", amount of cwnd increase in TCPCubic, in cubic mode: "
81 << s.cwnd_increase_cubic_mode 85 << s.cwnd_increase_cubic_mode
82 << "}\n"; 86 << "}\n";
83 return os; 87 return os;
84 } 88 }
85 89
86 } // namespace net 90 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_connection_stats.h ('k') | net/quic/quic_connection_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698