diff options
author | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-25 18:26:29 +0000 |
---|---|---|
committer | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-25 18:26:29 +0000 |
commit | f4f471dbff8d4fdcd91bf81bc02614862d8ccbf1 (patch) | |
tree | 924b57d205d18b47ad3c4ca05a587d6a4ca8b3e8 /chrome/browser/renderer_host | |
parent | de246f570b68acaf037db138fa871b791132ef30 (diff) | |
download | chromium_src-f4f471dbff8d4fdcd91bf81bc02614862d8ccbf1.zip chromium_src-f4f471dbff8d4fdcd91bf81bc02614862d8ccbf1.tar.gz chromium_src-f4f471dbff8d4fdcd91bf81bc02614862d8ccbf1.tar.bz2 |
Remove memory model experiment
We've already removed the histograms (during cleanup of other files) so
this just discards the remaining uses of the constants, along with the
experiment establishment portion.
r=mbelshe
Review URL: http://codereview.chromium.org/27032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10352 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host')
-rw-r--r-- | chrome/browser/renderer_host/render_widget_host_view_mac.mm | 15 | ||||
-rw-r--r-- | chrome/browser/renderer_host/render_widget_host_view_win.cc | 15 |
2 files changed, 2 insertions, 28 deletions
diff --git a/chrome/browser/renderer_host/render_widget_host_view_mac.mm b/chrome/browser/renderer_host/render_widget_host_view_mac.mm index 24a68ac..e651ddb 100644 --- a/chrome/browser/renderer_host/render_widget_host_view_mac.mm +++ b/chrome/browser/renderer_host/render_widget_host_view_mac.mm @@ -305,20 +305,7 @@ void RenderWidgetHostViewMac::ShutdownHost() { if (!renderWidgetHostView_->whiteout_start_time().is_null()) { base::TimeDelta whiteout_duration = base::TimeTicks::Now() - renderWidgetHostView_->whiteout_start_time(); - - // If field trial is active, report results in special histogram. - static scoped_refptr<FieldTrial> trial( - FieldTrialList::Find(BrowserTrial::kMemoryModelFieldTrial)); - if (trial.get()) { - if (trial->boolean_value()) - UMA_HISTOGRAM_TIMES("MPArch.RWHH_WhiteoutDuration_trial_high_memory", - whiteout_duration); - else - UMA_HISTOGRAM_TIMES("MPArch.RWHH_WhiteoutDuration_trial_med_memory", - whiteout_duration); - } else { - UMA_HISTOGRAM_TIMES("MPArch.RWHH_WhiteoutDuration", whiteout_duration); - } + UMA_HISTOGRAM_TIMES("MPArch.RWHH_WhiteoutDuration", whiteout_duration); // Reset the start time to 0 so that we start recording again the next // time the backing store is NULL... diff --git a/chrome/browser/renderer_host/render_widget_host_view_win.cc b/chrome/browser/renderer_host/render_widget_host_view_win.cc index 6369485..d0c11fc 100644 --- a/chrome/browser/renderer_host/render_widget_host_view_win.cc +++ b/chrome/browser/renderer_host/render_widget_host_view_win.cc @@ -519,20 +519,7 @@ void RenderWidgetHostViewWin::OnPaint(HDC dc) { } if (!whiteout_start_time_.is_null()) { TimeDelta whiteout_duration = TimeTicks::Now() - whiteout_start_time_; - - // If field trial is active, report results in special histogram. - static scoped_refptr<FieldTrial> trial( - FieldTrialList::Find(BrowserTrial::kMemoryModelFieldTrial)); - if (trial.get()) { - if (trial->boolean_value()) - UMA_HISTOGRAM_TIMES("MPArch.RWHH_WhiteoutDuration_trial_high_memory", - whiteout_duration); - else - UMA_HISTOGRAM_TIMES("MPArch.RWHH_WhiteoutDuration_trial_med_memory", - whiteout_duration); - } else { - UMA_HISTOGRAM_TIMES("MPArch.RWHH_WhiteoutDuration", whiteout_duration); - } + UMA_HISTOGRAM_TIMES("MPArch.RWHH_WhiteoutDuration", whiteout_duration); // Reset the start time to 0 so that we start recording again the next // time the backing store is NULL... |