summaryrefslogtreecommitdiffstats
path: root/content/gpu/gpu_main.cc
diff options
context:
space:
mode:
authorjmadill <jmadill@chromium.org>2015-04-10 05:09:49 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-10 12:10:13 +0000
commit20bd1637e164636a9e1f78bc1c98105e1fa8b033 (patch)
tree76aa06351c638212f1b5fa4eccc9e38396380ff4 /content/gpu/gpu_main.cc
parentc0b6548e7baee04264f397d52612df3543a3d08b (diff)
downloadchromium_src-20bd1637e164636a9e1f78bc1c98105e1fa8b033.zip
chromium_src-20bd1637e164636a9e1f78bc1c98105e1fa8b033.tar.gz
chromium_src-20bd1637e164636a9e1f78bc1c98105e1fa8b033.tar.bz2
Increase GPU init timing histogram range.
Using a medium time histogram will give us timing information up to three minutes. Previously many of the counts were at the maximum bucket (10 seconds). BUG=475240 Review URL: https://codereview.chromium.org/1071123003 Cr-Commit-Position: refs/heads/master@{#324618}
Diffstat (limited to 'content/gpu/gpu_main.cc')
-rw-r--r--content/gpu/gpu_main.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc
index f3d3c61..d17c9a0 100644
--- a/content/gpu/gpu_main.cc
+++ b/content/gpu/gpu_main.cc
@@ -306,7 +306,8 @@ int GpuMain(const MainFunctionParams& parameters) {
base::TimeDelta initialize_one_off_time =
base::TimeTicks::Now() - before_initialize_one_off;
- UMA_HISTOGRAM_TIMES("GPU.InitializeOneOffTime", initialize_one_off_time);
+ UMA_HISTOGRAM_MEDIUM_TIMES("GPU.InitializeOneOffMediumTime",
+ initialize_one_off_time);
if (enable_watchdog && delayed_watchdog_enable) {
watchdog_thread = new GpuWatchdogThread(kGpuTimeout);