Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1654)

Unified Diff: chrome/browser/metrics/thread_watcher.cc

Issue 273963002: Added histograms to track duration when StartupTimeBomb goes off. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reupload Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/thread_watcher.cc
diff --git a/chrome/browser/metrics/thread_watcher.cc b/chrome/browser/metrics/thread_watcher.cc
index 23e33b979a4a96e19fd99232c636512f8a925668..75c7d5c1528cd875fbdeabdacd375cab2cb6ec9e 100644
--- a/chrome/browser/metrics/thread_watcher.cc
+++ b/chrome/browser/metrics/thread_watcher.cc
@@ -910,13 +910,13 @@ class StartupWatchDogThread : public base::Watchdog {
return;
#else // Android release: gather stats to figure out when to crash.
// TODO(rtenneti): Delete this code, after getting data.
- UMA_HISTOGRAM_TIMES("StartupTimebomm.Alarm.TimeDuration",
+ UMA_HISTOGRAM_TIMES("StartupTimeBomb.Alarm.TimeDuration",
base::Time::Now() - start_time_clock_);
- UMA_HISTOGRAM_TIMES("StartupTimebomm.Alarm.TimeTicksDuration",
+ UMA_HISTOGRAM_TIMES("StartupTimeBomb.Alarm.TimeTicksDuration",
base::TimeTicks::Now() - start_time_monotonic_);
if (base::TimeTicks::IsThreadNowSupported()) {
UMA_HISTOGRAM_TIMES(
- "StartupTimebomm.Alarm.ThreadNowDuration",
+ "StartupTimeBomb.Alarm.ThreadNowDuration",
base::TimeTicks::ThreadNow() - start_time_thread_now_);
}
return;
« no previous file with comments | « no previous file | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698