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

Issue 2406103002: [tracing] Add memory usage of Android UI resources to memory-infra (Closed)

Created:
4 years, 2 months ago by ssid
Modified:
4 years, 2 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[tracing] Add memory usage of Android UI resources to memory-infra Add provider to track memory usage of bitmap resources in browser. BUG=654640 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/49a669c8ddfd8a45ab0318798359b9b08d2d9fa8 Cr-Commit-Position: refs/heads/master@{#425232}

Patch Set 1 #

Patch Set 2 : nit. #

Total comments: 7

Patch Set 3 : remove last_frame_resource_. #

Patch Set 4 : Fixes. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -5 lines) Patch
M cc/resources/scoped_ui_resource.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M cc/resources/ui_resource_bitmap.h View 1 2 3 1 chunk +5 lines, -0 lines 3 comments Download
M ui/android/resources/crushed_sprite_resource.h View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M ui/android/resources/crushed_sprite_resource.cc View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M ui/android/resources/resource_manager_impl.h View 3 chunks +8 lines, -1 line 0 comments Download
M ui/android/resources/resource_manager_impl.cc View 1 2 3 4 chunks +48 lines, -0 lines 0 comments Download
M ui/android/resources/resource_manager_impl_unittest.cc View 1 2 3 3 chunks +25 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 35 (21 generated)
ssid
ptal, thanks!
4 years, 2 months ago (2016-10-11 20:30:23 UTC) #10
Ted C
+dtrainor as he's a better owner for ui/android/resources
4 years, 2 months ago (2016-10-11 20:48:44 UTC) #12
Dmitry Skiba
https://codereview.chromium.org/2406103002/diff/80001/ui/android/resources/crushed_sprite_resource.cc File ui/android/resources/crushed_sprite_resource.cc (right): https://codereview.chromium.org/2406103002/diff/80001/ui/android/resources/crushed_sprite_resource.cc#newcode64 ui/android/resources/crushed_sprite_resource.cc:64: return bitmap_.getSize() + last_frame_resource_ I would just remove last_frame_resource_, ...
4 years, 2 months ago (2016-10-13 03:47:03 UTC) #16
David Trainor- moved to gerrit
lgtm % nits! Thanks :). https://codereview.chromium.org/2406103002/diff/80001/cc/resources/ui_resource_bitmap.h File cc/resources/ui_resource_bitmap.h (right): https://codereview.chromium.org/2406103002/diff/80001/cc/resources/ui_resource_bitmap.h#newcode56 cc/resources/ui_resource_bitmap.h:56: return pixel_ref_ ? pixel_ref_->rowBytes() ...
4 years, 2 months ago (2016-10-13 04:07:21 UTC) #17
ssid
Thanks made changes. https://codereview.chromium.org/2406103002/diff/80001/cc/resources/ui_resource_bitmap.h File cc/resources/ui_resource_bitmap.h (right): https://codereview.chromium.org/2406103002/diff/80001/cc/resources/ui_resource_bitmap.h#newcode56 cc/resources/ui_resource_bitmap.h:56: return pixel_ref_ ? pixel_ref_->rowBytes() * size_.height() ...
4 years, 2 months ago (2016-10-13 17:45:16 UTC) #18
ssid
+Eric ptal, thanks.
4 years, 2 months ago (2016-10-13 17:46:06 UTC) #19
ssid
+Eric ptal, thanks.
4 years, 2 months ago (2016-10-13 17:46:53 UTC) #21
ssid
https://codereview.chromium.org/2406103002/diff/80001/cc/resources/ui_resource_bitmap.h File cc/resources/ui_resource_bitmap.h (right): https://codereview.chromium.org/2406103002/diff/80001/cc/resources/ui_resource_bitmap.h#newcode56 cc/resources/ui_resource_bitmap.h:56: return pixel_ref_ ? pixel_ref_->rowBytes() * size_.height() : 0; On ...
4 years, 2 months ago (2016-10-13 18:54:48 UTC) #22
ericrk
lgtm https://codereview.chromium.org/2406103002/diff/120001/cc/resources/ui_resource_bitmap.h File cc/resources/ui_resource_bitmap.h (right): https://codereview.chromium.org/2406103002/diff/120001/cc/resources/ui_resource_bitmap.h#newcode56 cc/resources/ui_resource_bitmap.h:56: return pixel_ref_ ? pixel_ref_->rowBytes() * size_.height() : 0; ...
4 years, 2 months ago (2016-10-14 00:07:38 UTC) #23
David Trainor- moved to gerrit
https://codereview.chromium.org/2406103002/diff/120001/cc/resources/ui_resource_bitmap.h File cc/resources/ui_resource_bitmap.h (right): https://codereview.chromium.org/2406103002/diff/120001/cc/resources/ui_resource_bitmap.h#newcode56 cc/resources/ui_resource_bitmap.h:56: return pixel_ref_ ? pixel_ref_->rowBytes() * size_.height() : 0; On ...
4 years, 2 months ago (2016-10-14 01:35:32 UTC) #26
ssid
https://codereview.chromium.org/2406103002/diff/120001/cc/resources/ui_resource_bitmap.h File cc/resources/ui_resource_bitmap.h (right): https://codereview.chromium.org/2406103002/diff/120001/cc/resources/ui_resource_bitmap.h#newcode56 cc/resources/ui_resource_bitmap.h:56: return pixel_ref_ ? pixel_ref_->rowBytes() * size_.height() : 0; On ...
4 years, 2 months ago (2016-10-14 01:38:23 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2406103002/120001
4 years, 2 months ago (2016-10-14 01:43:45 UTC) #32
commit-bot: I haz the power
Committed patchset #4 (id:120001)
4 years, 2 months ago (2016-10-14 01:50:07 UTC) #33
commit-bot: I haz the power
4 years, 2 months ago (2016-10-14 01:52:38 UTC) #35
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/49a669c8ddfd8a45ab0318798359b9b08d2d9fa8
Cr-Commit-Position: refs/heads/master@{#425232}

Powered by Google App Engine
This is Rietveld 408576698