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

Unified Diff: net/quic/quic_client_session.cc

Issue 784563002: Add histograms to track how long QUIC read/write operations take to complete. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | net/quic/quic_default_packet_writer.cc » ('j') | tools/metrics/histograms/histograms.xml » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_client_session.cc
diff --git a/net/quic/quic_client_session.cc b/net/quic/quic_client_session.cc
index ef8bc202f1ca5caa3197306a9210d5fd406d3149..32d91bb12d8d88f0c4fe3b17fa03d8e9deef5f01 100644
--- a/net/quic/quic_client_session.cc
+++ b/net/quic/quic_client_session.cc
@@ -761,6 +761,7 @@ void QuicClientSession::StartReading() {
read_buffer_->size(),
base::Bind(&QuicClientSession::OnReadComplete,
weak_factory_.GetWeakPtr()));
+ UMA_HISTOGRAM_BOOLEAN("Net.QuicSession.AyncRead", rv == ERR_IO_PENDING);
ramant (doing other things) 2014/12/05 20:05:24 nit: AyncRead -> AsyncRead
Ryan Hamilton 2014/12/05 20:23:09 Done.
if (rv == ERR_IO_PENDING) {
num_packets_read_ = 0;
return;
« no previous file with comments | « no previous file | net/quic/quic_default_packet_writer.cc » ('j') | tools/metrics/histograms/histograms.xml » ('J')

Powered by Google App Engine
This is Rietveld 408576698