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

Issue 1214803006: [Memory] Add system_memory_stats_recorder_win.cc (Closed)

Created:
5 years, 5 months ago by Georges Khalil
Modified:
5 years, 5 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org, gab, chrisha, sky
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Memory] Add system_memory_stats_recorder_win.cc This adds stats recording on Windows when discarding a tab. Note: This is CL #6 towards expanding Chromeos tab killing to other platforms. BUG=463597 Committed: https://crrev.com/b7adc5b57caeea0033b2757d5babc03df73f9bb9 Cr-Commit-Position: refs/heads/master@{#337490}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Change histogram names to use suffixes. #

Total comments: 8

Patch Set 3 : Address comments. #

Patch Set 4 : Merge ToT. #

Patch Set 5 : Fix merge issue in gyp and line wrapping. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -12 lines) Patch
M chrome/browser/memory/system_memory_stats_recorder.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/memory/system_memory_stats_recorder_linux.cc View 1 2 3 4 4 chunks +7 lines, -12 lines 0 comments Download
A chrome/browser/memory/system_memory_stats_recorder_win.cc View 1 2 1 chunk +44 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +65 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (11 generated)
Georges Khalil
asvitkine@chromium.org: Please review changes in histograms.xml sky@chromium.org: Please review changes in chrome/*
5 years, 5 months ago (2015-06-30 17:08:57 UTC) #3
chrisha
Do we really need OS specific metrics in histograms? We can always filter by OS ...
5 years, 5 months ago (2015-06-30 17:11:18 UTC) #5
Georges Khalil
-asvitkine@ (OOO) +rkaplow@
5 years, 5 months ago (2015-06-30 17:16:28 UTC) #7
Georges Khalil
On 2015/06/30 17:11:18, chrisha wrote: > Do we really need OS specific metrics in histograms? ...
5 years, 5 months ago (2015-06-30 17:27:30 UTC) #8
rkaplow
Hey Ilya, curious how you think they should suffix this setup, considering there is 2 ...
5 years, 5 months ago (2015-06-30 18:21:48 UTC) #10
Ilya Sherman
https://codereview.chromium.org/1214803006/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1214803006/diff/20001/tools/metrics/histograms/histograms.xml#newcode16682 tools/metrics/histograms/histograms.xml:16682: +<histogram name="Memory.OOMKill.Extensions.Win.AvailPageFile" units="MB"> On 2015/06/30 18:21:48, rkaplow wrote: > ...
5 years, 5 months ago (2015-07-01 02:25:14 UTC) #11
Ilya Sherman
https://codereview.chromium.org/1214803006/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1214803006/diff/20001/tools/metrics/histograms/histograms.xml#newcode16682 tools/metrics/histograms/histograms.xml:16682: +<histogram name="Memory.OOMKill.Extensions.Win.AvailPageFile" units="MB"> On 2015/07/01 02:25:14, Ilya Sherman wrote: ...
5 years, 5 months ago (2015-07-01 02:28:59 UTC) #12
Georges Khalil
PTAnL. Changed the naming scheme to use suffixes instead. Also, -sky@ (OOO) and +jamescook@ for ...
5 years, 5 months ago (2015-07-06 17:47:32 UTC) #16
James Cook
https://codereview.chromium.org/1214803006/diff/80001/chrome/browser/memory/system_memory_stats_recorder_win.cc File chrome/browser/memory/system_memory_stats_recorder_win.cc (right): https://codereview.chromium.org/1214803006/diff/80001/chrome/browser/memory/system_memory_stats_recorder_win.cc#newcode15 chrome/browser/memory/system_memory_stats_recorder_win.cc:15: #define UMA_HISTOGRAM_LARGE_MEMORY_MB(name, sample) \ Do you want to move ...
5 years, 5 months ago (2015-07-06 18:56:35 UTC) #17
Georges Khalil
jamescook@, PTAnL. https://codereview.chromium.org/1214803006/diff/80001/chrome/browser/memory/system_memory_stats_recorder_win.cc File chrome/browser/memory/system_memory_stats_recorder_win.cc (right): https://codereview.chromium.org/1214803006/diff/80001/chrome/browser/memory/system_memory_stats_recorder_win.cc#newcode15 chrome/browser/memory/system_memory_stats_recorder_win.cc:15: #define UMA_HISTOGRAM_LARGE_MEMORY_MB(name, sample) \ On 2015/07/06 18:56:34, ...
5 years, 5 months ago (2015-07-06 20:01:34 UTC) #18
James Cook
LGTM but please CC me on the change to normalize the histogram names. Memory.* sounds ...
5 years, 5 months ago (2015-07-06 20:16:02 UTC) #19
Georges Khalil
On 2015/07/06 20:16:02, James Cook wrote: > LGTM but please CC me on the change ...
5 years, 5 months ago (2015-07-06 20:31:40 UTC) #20
rkaplow
lgtm LGTM I think but will still need an owner. DO have a question though ...
5 years, 5 months ago (2015-07-06 21:22:14 UTC) #21
Georges Khalil
On 2015/07/06 21:22:14, rkaplow wrote: > lgtm > > LGTM I think but will still ...
5 years, 5 months ago (2015-07-06 21:28:21 UTC) #22
Alexei Svitkine (slow)
lgtm
5 years, 5 months ago (2015-07-06 21:37:03 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1214803006/140001
5 years, 5 months ago (2015-07-06 21:39:33 UTC) #27
commit-bot: I haz the power
Committed patchset #5 (id:140001)
5 years, 5 months ago (2015-07-06 22:12:24 UTC) #28
commit-bot: I haz the power
5 years, 5 months ago (2015-07-06 22:13:22 UTC) #29
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b7adc5b57caeea0033b2757d5babc03df73f9bb9
Cr-Commit-Position: refs/heads/master@{#337490}

Powered by Google App Engine
This is Rietveld 408576698