diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/disk_cache/histogram_macros.h | 4 | ||||
-rw-r--r-- | net/socket/client_socket_pool_histograms.cc | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/net/disk_cache/histogram_macros.h b/net/disk_cache/histogram_macros.h index bbea303..361a9d6 100644 --- a/net/disk_cache/histogram_macros.h +++ b/net/disk_cache/histogram_macros.h @@ -36,8 +36,8 @@ do { \ static scoped_refptr<Histogram> counter; \ if (!counter || name != counter->histogram_name()) \ - counter = Histogram::FactoryGet(name, min, max, bucket_count, \ - Histogram::kUmaTargetedHistogramFlag); \ + counter = Histogram::FactoryTimeGet(name, min, max, bucket_count, \ + Histogram::kUmaTargetedHistogramFlag); \ counter->AddTime(sample); \ } while (0) diff --git a/net/socket/client_socket_pool_histograms.cc b/net/socket/client_socket_pool_histograms.cc index 769257b..e86543d 100644 --- a/net/socket/client_socket_pool_histograms.cc +++ b/net/socket/client_socket_pool_histograms.cc @@ -18,19 +18,19 @@ ClientSocketPoolHistograms::ClientSocketPoolHistograms( ClientSocketHandle::NUM_TYPES, ClientSocketHandle::NUM_TYPES + 1, Histogram::kUmaTargetedHistogramFlag); // UMA_HISTOGRAM_CUSTOM_TIMES - request_time_ = Histogram::FactoryGet( + request_time_ = Histogram::FactoryTimeGet( "Net.SocketRequestTime_" + pool_name, base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(10), 100, Histogram::kUmaTargetedHistogramFlag); // UMA_HISTOGRAM_CUSTOM_TIMES - unused_idle_time_ = Histogram::FactoryGet( + unused_idle_time_ = Histogram::FactoryTimeGet( "Net.SocketIdleTimeBeforeNextUse_UnusedSocket_" + pool_name, base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(6), 100, Histogram::kUmaTargetedHistogramFlag); // UMA_HISTOGRAM_CUSTOM_TIMES - reused_idle_time_ = Histogram::FactoryGet( + reused_idle_time_ = Histogram::FactoryTimeGet( "Net.SocketIdleTimeBeforeNextUse_ReusedSocket_" + pool_name, base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(6), |