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

Issue 10041017: Show gpu process stats in about:tcmalloc (Closed)

Created:
8 years, 8 months ago by jamesr
Modified:
8 years, 8 months ago
Reviewers:
jabdelmalek, jam, sky
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium
Visibility:
Public.

Description

Show gpu process stats in about:tcmalloc BUG=123939 TEST=launch GPU process by navigating to a page requiring it. open about:tcmalloc. refresh. see GPU process memory information Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=133816

Patch Set 1 #

Patch Set 2 : with correct (?) layering #

Total comments: 2

Patch Set 3 : move all code down to content #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 3

Patch Set 7 : address nits, call OnStatsForChildProcess directly from IO thread instead of posting to UI #

Unified diffs Side-by-side diffs Delta from patch set Stats (+252 lines, -106 lines) Patch
M chrome/browser/browser_about_handler.cc View 1 2 3 4 5 6 3 chunks +0 lines, -21 lines 0 comments Download
M chrome/browser/renderer_host/chrome_render_message_filter.cc View 1 2 3 chunks +0 lines, -9 lines 0 comments Download
M chrome/browser/ui/webui/about_ui.cc View 1 2 3 4 5 6 3 chunks +0 lines, -53 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 1 2 3 6 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 4 5 6 2 chunks +0 lines, -5 lines 0 comments Download
M chrome/common/url_constants.h View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/url_constants.cc View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M chrome/renderer/chrome_render_process_observer.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/renderer/chrome_render_process_observer.cc View 1 2 3 4 5 2 chunks +0 lines, -10 lines 0 comments Download
M content/browser/profiler_controller_impl.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/profiler_message_filter.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/profiler_message_filter.cc View 1 2 3 4 5 6 3 chunks +12 lines, -0 lines 0 comments Download
M content/browser/resource_context_impl.cc View 1 2 3 4 5 2 chunks +10 lines, -0 lines 0 comments Download
A content/browser/tcmalloc_internals_request_job.h View 1 2 3 4 5 6 1 chunk +64 lines, -0 lines 0 comments Download
A content/browser/tcmalloc_internals_request_job.cc View 1 2 3 4 5 1 chunk +117 lines, -0 lines 0 comments Download
M content/common/child_process_messages.h View 1 2 chunks +11 lines, -0 lines 0 comments Download
M content/common/child_thread.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/common/child_thread.cc View 1 2 3 4 5 6 3 chunks +17 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M content/gpu/gpu_child_thread.h View 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/common/url_constants.h View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download
M content/public/common/url_constants.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
jamesr
This generalizes the renderer-specific about:tcmalloc IPC hook for all (?) process types. I don't think ...
8 years, 8 months ago (2012-04-18 22:16:38 UTC) #1
jam
(didn't look through all now) IPCs don't span content/chrome, which is why you got that ...
8 years, 8 months ago (2012-04-18 23:06:41 UTC) #2
jamesr
Want to take another look, John? I've moved all of the stuff down to content
8 years, 8 months ago (2012-04-24 00:32:41 UTC) #3
jam
lgtm http://codereview.chromium.org/10041017/diff/22001/content/browser/tcmalloc_internals_request_job.h File content/browser/tcmalloc_internals_request_job.h (right): http://codereview.chromium.org/10041017/diff/22001/content/browser/tcmalloc_internals_request_job.h#newcode15 content/browser/tcmalloc_internals_request_job.h:15: #include <map> nit: this needs to be at ...
8 years, 8 months ago (2012-04-24 20:14:08 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/10041017/31001
8 years, 8 months ago (2012-04-24 22:30:15 UTC) #5
commit-bot: I haz the power
Presubmit check for 10041017-31001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 8 months ago (2012-04-24 22:30:27 UTC) #6
sky
LGTM
8 years, 8 months ago (2012-04-24 22:33:25 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/10041017/31001
8 years, 8 months ago (2012-04-24 22:33:56 UTC) #8
commit-bot: I haz the power
8 years, 8 months ago (2012-04-25 00:05:19 UTC) #9
Change committed as 133816

Powered by Google App Engine
This is Rietveld 408576698