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

Unified Diff: net/quic/quic_connection_logger.cc

Issue 23451015: Add a new histogram: Net.QuicSession.OutOfOrderGapReceived (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection_logger.cc
diff --git a/net/quic/quic_connection_logger.cc b/net/quic/quic_connection_logger.cc
index b5dfcd61028d87da0425e7d6d22fcb1b296d8e5e..2221b501231664389389571aeaafa983b641181f 100644
--- a/net/quic/quic_connection_logger.cc
+++ b/net/quic/quic_connection_logger.cc
@@ -301,6 +301,9 @@ void QuicConnectionLogger::OnPacketHeader(const QuicPacketHeader& header) {
}
if (header.packet_sequence_number < last_received_packet_sequence_number_) {
++out_of_order_recieved_packet_count_;
+ UMA_HISTOGRAM_COUNTS("Net.QuicSession.OutOfOrderGapReceived",
+ last_received_packet_sequence_number_ -
+ header.packet_sequence_number);
}
last_received_packet_sequence_number_ = header.packet_sequence_number;
}
« no previous file with comments | « no previous file | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698