diff options
author | rkaplow <rkaplow@chromium.org> | 2015-02-17 15:42:13 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-17 23:42:59 +0000 |
commit | 0b6f4133d9fee981ca7a21caa87bd6feb15e6278 (patch) | |
tree | c5281ee08ddc2beafda49a4d71f1ce85c8e9ad7b /chrome/browser/chrome_browser_main.cc | |
parent | 1557e3e6164d569b8a5c06e37007a18a47c2d0de (diff) | |
download | chromium_src-0b6f4133d9fee981ca7a21caa87bd6feb15e6278.zip chromium_src-0b6f4133d9fee981ca7a21caa87bd6feb15e6278.tar.gz chromium_src-0b6f4133d9fee981ca7a21caa87bd6feb15e6278.tar.bz2 |
Add UMA_SCOPED_HISTOGRAM_LONG_TIMER macro.
This is similar to the current scoped_macro but it is for measurements up to 60min and has 100 buckets.
Use the new macro to replace PreMainMessageLoopRunImplTime with PreMainMessageLoopRunImplLongTime.
BUG=454789
Review URL: https://codereview.chromium.org/936573002
Cr-Commit-Position: refs/heads/master@{#316702}
Diffstat (limited to 'chrome/browser/chrome_browser_main.cc')
-rw-r--r-- | chrome/browser/chrome_browser_main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc index 69ccdf4..5dced63 100644 --- a/chrome/browser/chrome_browser_main.cc +++ b/chrome/browser/chrome_browser_main.cc @@ -1112,7 +1112,7 @@ void ChromeBrowserMainParts::PostBrowserStart() { int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() { TRACE_EVENT0("startup", "ChromeBrowserMainParts::PreMainMessageLoopRunImpl"); - SCOPED_UMA_HISTOGRAM_TIMER("Startup.PreMainMessageLoopRunImplTime"); + SCOPED_UMA_HISTOGRAM_LONG_TIMER("Startup.PreMainMessageLoopRunImplLongTime"); // Android updates the metrics service dynamically depending on whether the // application is in the foreground or not. Do not start here. #if !defined(OS_ANDROID) |