summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/boot_times_loader.h
diff options
context:
space:
mode:
authordavemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-05 23:50:16 +0000
committerdavemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-05 23:50:16 +0000
commit03b3d3fe34206d788cef52947de0093c4aa100da (patch)
treea74e8ec14b4d4b6d106673626ae607ee0d73d828 /chrome/browser/chromeos/boot_times_loader.h
parent040b800f9a064e093255e1e5e2718b1cd51275a3 (diff)
downloadchromium_src-03b3d3fe34206d788cef52947de0093c4aa100da.zip
chromium_src-03b3d3fe34206d788cef52947de0093c4aa100da.tar.gz
chromium_src-03b3d3fe34206d788cef52947de0093c4aa100da.tar.bz2
Add time for when chrome's main() is called.
Also output chrome's time to launch on the login screen. Review URL: http://codereview.chromium.org/2003001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46526 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/boot_times_loader.h')
-rw-r--r--chrome/browser/chromeos/boot_times_loader.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/boot_times_loader.h b/chrome/browser/chromeos/boot_times_loader.h
index ad7109b..3592027 100644
--- a/chrome/browser/chromeos/boot_times_loader.h
+++ b/chrome/browser/chromeos/boot_times_loader.h
@@ -32,11 +32,15 @@ class BootTimesLoader : public CancelableRequestProvider {
double firmware; // Time from power button to kernel being loaded.
double pre_startup; // Time from kernel to system code being called.
double x_started; // Time X server is ready to be connected to.
+ double chrome_exec; // Time session manager executed Chrome.
+ double chrome_main; // Time chrome's main() was called.
double login_prompt_ready; // Time login (or OOB) panel is displayed.
BootTimes() : firmware(0),
pre_startup(0),
x_started(0),
+ chrome_exec(0),
+ chrome_main(0),
login_prompt_ready(0) {}
} BootTimes;