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

Unified Diff: net/quic/quic_crypto_client_stream.cc

Issue 192583005: QUIC - rename |read_start_time_| to |disk_cache_load_start_time_|. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | « net/quic/quic_crypto_client_stream.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_crypto_client_stream.cc
diff --git a/net/quic/quic_crypto_client_stream.cc b/net/quic/quic_crypto_client_stream.cc
index 9e48e4f5611ac7ce14b654351298cc077531bd4f..6649b7ab3e012b70ee526281b4e93d67a2f270cb 100644
--- a/net/quic/quic_crypto_client_stream.cc
+++ b/net/quic/quic_crypto_client_stream.cc
@@ -423,7 +423,7 @@ int QuicCryptoClientStream::DoLoadQuicServerInfo(
return OK;
}
- read_start_time_ = base::TimeTicks::Now();
+ disk_cache_load_start_time_ = base::TimeTicks::Now();
generation_counter_ = cached->generation_counter();
next_state_ = STATE_LOAD_QUIC_SERVER_INFO_COMPLETE;
@@ -465,8 +465,8 @@ void QuicCryptoClientStream::LoadQuicServerInfo(
return;
}
- UMA_HISTOGRAM_TIMES("Net.QuicServerInfo.DiskCacheReadTime",
- base::TimeTicks::Now() - read_start_time_);
+ UMA_HISTOGRAM_TIMES("Net.QuicServerInfo.DiskCacheLoadTime",
wtc 2014/03/10 21:54:55 IMPORTANT: we probably should not rename the histo
ramant (doing other things) 2014/03/10 22:02:08 Done.
+ base::TimeTicks::Now() - disk_cache_load_start_time_);
if (disk_cache_load_result_ != OK || !cached->LoadQuicServerInfo(
session()->connection()->clock()->WallNow())) {
« no previous file with comments | « net/quic/quic_crypto_client_stream.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698