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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 2964103002: [GRC] Decouple Render Process CPU Measurement from CU Graph (Closed)
Patch Set: Update unittests Created 3 years, 6 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
Index: chrome/browser/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index 294ab872336deb568b4ac1a48072e673dc2cbc33..dbcb4ae6c9890299f32c3309d96a899f09e5f5e6 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -89,6 +89,7 @@
#include "chrome/browser/profiles/profile_attributes_storage.h"
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/browser/profiles/profiles_state.h"
+#include "chrome/browser/resource_coordinator/resource_coordinator_render_process_probe.h"
#include "chrome/browser/resource_coordinator/tab_manager.h"
#include "chrome/browser/sessions/chrome_serialized_navigation_driver.h"
#include "chrome/browser/shell_integration.h"
@@ -1953,6 +1954,8 @@ bool ChromeBrowserMainParts::MainMessageLoopRun(int* result_code) {
base::RunLoop run_loop;
performance_monitor::PerformanceMonitor::GetInstance()->StartGatherCycle();
+ resource_coordinator::ResourceCoordinatorRenderProcessProbe::GetInstance()
matthalp 2017/07/01 19:11:38 TODO(matthalp): Guard with feature flag. Also expo
+ ->StartGatherCycle();
metrics::MetricsService::SetExecutionPhase(
metrics::ExecutionPhase::MAIN_MESSAGE_LOOP_RUN,
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/resource_coordinator/resource_coordinator_render_process_probe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698