summaryrefslogtreecommitdiffstats
path: root/chrome/app
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/app')
-rw-r--r--chrome/app/chrome_dll_main.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/app/chrome_dll_main.cc b/chrome/app/chrome_dll_main.cc
index 3f54f04..9e2becc 100644
--- a/chrome/app/chrome_dll_main.cc
+++ b/chrome/app/chrome_dll_main.cc
@@ -397,7 +397,11 @@ DLLEXPORT int __cdecl ChromeMain(HINSTANCE instance,
#elif defined(OS_POSIX)
int ChromeMain(int argc, char** argv) {
#endif
-
+#if defined(OS_CHROMEOS)
+ // Output our start times.
+ system("set -o noclobber ; cat /proc/uptime > /tmp/uptime-chrome-main");
+ system("set -o noclobber ; cat /sys/block/sda/stat > /tmp/disk-chrome-main");
+#endif
#if defined(OS_MACOSX)
// TODO(mark): Some of these things ought to be handled in chrome_exe_main.mm.
// Under the current architecture, nothing in chrome_exe_main can rely