Chromium Code Reviews| Index: chrome/browser/chrome_browser_main.cc |
| diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc |
| index 06dd8f1617b28f24a59db767416038218717a67b..7de9deb35c6e453dc930f63e5bfe9b9634628eb3 100644 |
| --- a/chrome/browser/chrome_browser_main.cc |
| +++ b/chrome/browser/chrome_browser_main.cc |
| @@ -14,6 +14,7 @@ |
| #include "base/at_exit.h" |
| #include "base/bind.h" |
| #include "base/command_line.h" |
| +#include "base/cpu.h" |
| #include "base/debug/trace_event.h" |
| #include "base/file_path.h" |
| #include "base/file_util.h" |
| @@ -1001,6 +1002,13 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() { |
| StartMetricsRecording(); |
| #endif |
| +#if defined(ARCH_CPU_X86_FAMILY) |
|
brettw
2013/01/31 20:08:43
If this is the best place you can find, at least p
|
| + base::CPU cpu; |
| + base::CPU::IntelMicroArchitecture arch = cpu.getIntelMicroArchitecture(); |
| + UMA_HISTOGRAM_ENUMERATION("Platform.IntelMaxMicroArchitecture", arch, |
| + base::CPU::MaxIntelMicroArchitecture); |
| +#endif // defined(ARCH_CPU_X86_FAMILY) |
|
brettw
2013/01/31 20:08:43
need two spaces before //
|
| + |
| // Create watchdog thread after creating all other threads because it will |
| // watch the other threads and they must be running. |
| browser_process_->watchdog_thread(); |