Chromium Code Reviews| 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())) { |