Record BrowserOpenTabs and BrowserWindowDisplay histograms after startup temperature evaluation.
Previously, these histograms were recorded prior to startup
temperature evaluation, which caused almost (*) no data to be
recorded in temperature-suffixed histograms. With this CL,
the values are stored in global variable and recorded to
appropriate histograms after the startup temperature is
evaluated.
(*) Most of the time, the browser window is displayed
before startup temperature evaluation. However, if
Chrome is launched with --silent-launch, the first
window can be displayed later. That may explain why
we see a few samples in temperature-suffixed
BrowserWindowDisplay histograms. With this CL, any
browser window display that happens after normal
startup won't be recorded to an histogram.
Bug: 580207, 589118
Change-Id: I8419df6f42df64f60be0858462159a276d17557e
Reviewed-on: https://chromium-review.googlesource.com/1167470Reviewed-by:
Gabriel Charette <gab@chromium.org>
Reviewed-by:
Steven Holte <holte@chromium.org>
Commit-Queue: François Doray <fdoray@chromium.org>
Cr-Commit-Position: refs/heads/master@{#582302}
Showing
Please register or sign in to comment