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

Unified Diff: chrome/common/stack_sampling_configuration.cc

Issue 2571483003: Stack sampling profiler: update to 10% full disable experiment (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/stack_sampling_configuration.cc
diff --git a/chrome/common/stack_sampling_configuration.cc b/chrome/common/stack_sampling_configuration.cc
index ca79f3f0f7d1429cd99c56ba910108bef8a6a18f..c2b0786442b1541f0c0f2ec144f5b300a16f3585 100644
--- a/chrome/common/stack_sampling_configuration.cc
+++ b/chrome/common/stack_sampling_configuration.cc
@@ -128,7 +128,8 @@ void StackSamplingConfiguration::AppendCommandLineSwitchForChildProcess(
DCHECK(IsBrowserProcess());
if (process_type == switches::kGpuProcess &&
- (configuration_ == PROFILE_GPU_PROCESS ||
+ (configuration_ == PROFILE_CONTROL ||
+ configuration_ == PROFILE_GPU_PROCESS ||
configuration_ == PROFILE_BROWSER_AND_GPU_PROCESS)) {
command_line->AppendSwitch(switches::kStartStackProfiler);
}
@@ -180,18 +181,18 @@ StackSamplingConfiguration::GenerateConfiguration() {
return ChooseConfiguration({
{ PROFILE_BROWSER_PROCESS, 0},
{ PROFILE_GPU_PROCESS, 0},
- { PROFILE_BROWSER_AND_GPU_PROCESS, 50},
- { PROFILE_CONTROL, 50},
- { PROFILE_DISABLED, 0}
+ { PROFILE_BROWSER_AND_GPU_PROCESS, 80},
+ { PROFILE_CONTROL, 10},
+ { PROFILE_DISABLED, 10}
});
case version_info::Channel::DEV:
return ChooseConfiguration({
{ PROFILE_BROWSER_PROCESS, 0},
{ PROFILE_GPU_PROCESS, 0},
- { PROFILE_BROWSER_AND_GPU_PROCESS, 50},
- { PROFILE_CONTROL, 50},
- { PROFILE_DISABLED, 0}
+ { PROFILE_BROWSER_AND_GPU_PROCESS, 80},
+ { PROFILE_CONTROL, 10},
+ { PROFILE_DISABLED, 10}
});
default:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698