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

Issue 11475016: cros: Add UMA stat for graphics driver memory on tab discard (Closed)

Created:
8 years ago by James Cook
Modified:
8 years ago
Reviewers:
brettw, DaveMoore
CC:
chromium-reviews, erikwright+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org
Visibility:
Public.

Description

cros: Add UMA stats for graphics driver memory * Log graphics driver memory in the regular UMA memory stats * Log also on tab discard * Fix range of Tab.Discard.MemAnonymousMB to give more precision in the > 2 GB range * Incorporate both Mali and GEM memory for ARM stats BUG=164761, 164106 TEST=manual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=172405

Patch Set 1 #

Patch Set 2 : Log graphics on discard, fix anon mem range #

Total comments: 6

Patch Set 3 : review comments #

Patch Set 4 : update about:discards #

Patch Set 5 : typo #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -21 lines) Patch
M base/process_util_linux.cc View 1 3 chunks +21 lines, -11 lines 0 comments Download
M chrome/browser/chromeos/memory/oom_priority_manager.cc View 1 2 3 4 5 4 chunks +22 lines, -1 line 0 comments Download
M chrome/browser/memory_details.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/about_ui.cc View 1 2 3 4 1 chunk +21 lines, -9 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
James Cook
Dave, PTAL.
8 years ago (2012-12-07 00:54:32 UTC) #1
James Cook
Dave, updated, PTAL.
8 years ago (2012-12-07 18:05:29 UTC) #2
DaveMoore
https://codereview.chromium.org/11475016/diff/5/chrome/browser/chromeos/memory/oom_priority_manager.cc File chrome/browser/chromeos/memory/oom_priority_manager.cc (right): https://codereview.chromium.org/11475016/diff/5/chrome/browser/chromeos/memory/oom_priority_manager.cc#newcode118 chrome/browser/chromeos/memory/oom_priority_manager.cc:118: memory.gem_size / 1024 / 1024); Use ui::FormatBytes() instead. You ...
8 years ago (2012-12-07 18:52:48 UTC) #3
James Cook
Updated, PTAL. https://codereview.chromium.org/11475016/diff/5/chrome/browser/chromeos/memory/oom_priority_manager.cc File chrome/browser/chromeos/memory/oom_priority_manager.cc (right): https://codereview.chromium.org/11475016/diff/5/chrome/browser/chromeos/memory/oom_priority_manager.cc#newcode118 chrome/browser/chromeos/memory/oom_priority_manager.cc:118: memory.gem_size / 1024 / 1024); On 2012/12/07 ...
8 years ago (2012-12-07 19:41:22 UTC) #4
James Cook
Changed my mind, I'm adding allocated to about:discards, patch to follow.
8 years ago (2012-12-07 19:49:34 UTC) #5
James Cook
Updated, PTAL.
8 years ago (2012-12-07 19:51:29 UTC) #6
James Cook
Ping Dave?
8 years ago (2012-12-10 23:01:04 UTC) #7
DaveMoore
lgtm
8 years ago (2012-12-11 05:20:40 UTC) #8
James Cook
brettw, can I get OWNERS approval for base/process_util_linux.cc? We've had some trouble with graphics memory ...
8 years ago (2012-12-11 18:17:13 UTC) #9
brettw
base owners lgtm, hopefully dave understands this because I have no idea what's going on.
8 years ago (2012-12-11 19:16:47 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamescook@chromium.org/11475016/15001
8 years ago (2012-12-11 20:04:36 UTC) #11
commit-bot: I haz the power
8 years ago (2012-12-11 21:24:41 UTC) #12
Message was sent while issue was closed.
Change committed as 172405

Powered by Google App Engine
This is Rietveld 408576698