summaryrefslogtreecommitdiffstats
path: root/chrome/app/chrome_dll_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/app/chrome_dll_main.cc')
-rw-r--r--chrome/app/chrome_dll_main.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/app/chrome_dll_main.cc b/chrome/app/chrome_dll_main.cc
index 96a4715..c1077ac 100644
--- a/chrome/app/chrome_dll_main.cc
+++ b/chrome/app/chrome_dll_main.cc
@@ -45,6 +45,7 @@
#include "base/stats_counters.h"
#include "base/stats_table.h"
#include "base/string_util.h"
+#include "base/trace_event.h"
#include "chrome/browser/diagnostics/diagnostics_main.h"
#include "chrome/browser/renderer_host/render_process_host.h"
#include "chrome/common/chrome_constants.h"
@@ -420,6 +421,8 @@ int ChromeMain(int argc, char** argv) {
// The exit manager is in charge of calling the dtors of singleton objects.
base::AtExitManager exit_manager;
+ TRACE_EVENT_BEGIN("chrome.main", NULL, "");
+
// We need this pool for all the objects created before we get to the
// event loop, but we don't want to leave them hanging around until the
// app quits. Each "main" needs to flush this pool right before it goes into
@@ -841,5 +844,7 @@ int ChromeMain(int argc, char** argv) {
DestructCrashReporter();
#endif // OS_MACOSX && GOOGLE_CHROME_BUILD
+ TRACE_EVENT_END("chrome.main", NULL, "");
+
return rv;
}