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

Unified Diff: chrome/gpu/chrome_content_gpu_client.cc

Issue 2362493002: Stack sampling profiler: set process and thread information (Closed)
Patch Set: address comments Created 4 years, 3 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/gpu/chrome_content_gpu_client.cc
diff --git a/chrome/gpu/chrome_content_gpu_client.cc b/chrome/gpu/chrome_content_gpu_client.cc
index 9fc67ea502495b083c05b77d70de79630495827b..1c93cf13023d5fb0a57ed5a18216501ee0d34801 100644
--- a/chrome/gpu/chrome_content_gpu_client.cc
+++ b/chrome/gpu/chrome_content_gpu_client.cc
@@ -61,6 +61,8 @@ ChromeContentGpuClient::ChromeContentGpuClient()
GetStartupSamplingParams(),
g_call_stack_profile_collector.Get().GetProfilerCallback(
metrics::CallStackProfileParams(
+ metrics::CallStackProfileParams::GPU_PROCESS,
+ metrics::CallStackProfileParams::GPU_MAIN_THREAD,
metrics::CallStackProfileParams::PROCESS_STARTUP,
metrics::CallStackProfileParams::MAY_SHUFFLE))) {
}
« no previous file with comments | « chrome/browser/metrics/thread_watcher_unittest.cc ('k') | components/metrics/call_stack_profile_collector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698