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

Issue 1313793004: [tracing] Add support for skia caches to dump memory stats (Closed)

Created:
5 years, 4 months ago by ssid
Modified:
5 years, 3 months ago
Reviewers:
reed1
CC:
reviews_skia.org
Base URL:
https://chromium.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

[tracing] Add support for skia caches to dump memory stats Dump the memory statistics of resource cache and glyph cache using the SkTraceMemoryDump interface. BUG=chromium:503168 Committed: https://skia.googlesource.com/skia/+/33c594c9611529ba72474ec52586be65f3e2d76f

Patch Set 1 #

Patch Set 2 : Fixes. #

Patch Set 3 : Nits., #

Patch Set 4 : Nits. #

Patch Set 5 : Moved public api to SkGraphics.h #

Patch Set 6 : Rename. #

Patch Set 7 : Fixing SampleApp. #

Patch Set 8 : Add back the test methods. #

Patch Set 9 : Commit missed files. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -1 line) Patch
M include/core/SkGraphics.h View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M src/core/SkGlyphCache.h View 1 2 3 4 5 6 7 3 chunks +10 lines, -1 line 0 comments Download
M src/core/SkGlyphCache.cpp View 1 2 3 4 5 6 7 8 3 chunks +43 lines, -0 lines 0 comments Download
M src/core/SkGraphics.cpp View 1 2 3 4 5 3 chunks +9 lines, -0 lines 0 comments Download
M src/core/SkResourceCache.h View 1 2 3 4 5 6 7 2 chunks +6 lines, -0 lines 0 comments Download
M src/core/SkResourceCache.cpp View 1 2 3 4 5 6 7 8 2 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (13 generated)
ssid
PTAL, Thanks. This will be followed by chrome side crrev.com/1319473003
5 years, 3 months ago (2015-08-26 14:55:38 UTC) #2
reed1
Hmmm, seems like the .h to change is SkGraphics, since that is already public SkGraphics::DumpMemoryTrace(...) ...
5 years, 3 months ago (2015-08-26 18:46:24 UTC) #3
ssid
Made changes, PTAL. Thanks
5 years, 3 months ago (2015-08-27 13:28:38 UTC) #4
reed1
This is fine. i have some nits: 1. (sometimes we say DumpMemoryStatistics and sometimes DumpMemoryTrace) ...
5 years, 3 months ago (2015-08-27 13:59:41 UTC) #5
ssid
On 2015/08/27 13:59:41, reed1 wrote: > This is fine. i have some nits: > > ...
5 years, 3 months ago (2015-08-27 14:07:45 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1313793004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1313793004/100001
5 years, 3 months ago (2015-08-27 14:27:45 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-Arm64-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Arm64-Debug-Android-Trybot/builds/1219) Build-Win-MSVC-x86-Debug-Trybot on ...
5 years, 3 months ago (2015-08-27 14:29:45 UTC) #10
reed1
I'll try the move (in case I don't like it :)
5 years, 3 months ago (2015-08-27 14:32:13 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1313793004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1313793004/120001
5 years, 3 months ago (2015-08-27 14:40:50 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-08-27 14:46:17 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1313793004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1313793004/120001
5 years, 3 months ago (2015-08-27 15:04:51 UTC) #18
reed1
Not sure why you deleted the TestDump code I had put into SampleApp. It was ...
5 years, 3 months ago (2015-08-27 15:05:13 UTC) #19
reed1
i.e. I don't think you need to have removed the TestDump from resourcecache either.
5 years, 3 months ago (2015-08-27 15:05:37 UTC) #20
ssid
On 2015/08/27 15:05:37, reed1 wrote: > i.e. I don't think you need to have removed ...
5 years, 3 months ago (2015-08-27 15:18:31 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1313793004/80002 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1313793004/80002
5 years, 3 months ago (2015-08-27 15:20:01 UTC) #24
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86_64-Debug-Trybot/builds/2975)
5 years, 3 months ago (2015-08-27 15:23:33 UTC) #26
ssid
On 2015/08/27 15:18:31, ssid wrote: > On 2015/08/27 15:05:37, reed1 wrote: > > i.e. I ...
5 years, 3 months ago (2015-08-27 15:37:22 UTC) #27
reed1
lgtm
5 years, 3 months ago (2015-08-27 15:49:00 UTC) #28
ssid
On 2015/08/27 15:49:00, reed1 wrote: > lgtm Thanks for your patience.
5 years, 3 months ago (2015-08-27 15:50:08 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1313793004/150001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1313793004/150001
5 years, 3 months ago (2015-08-27 15:50:33 UTC) #31
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-08-27 15:55:56 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1313793004/150001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1313793004/150001
5 years, 3 months ago (2015-08-27 16:23:32 UTC) #35
commit-bot: I haz the power
5 years, 3 months ago (2015-08-27 16:23:59 UTC) #36
Message was sent while issue was closed.
Committed patchset #9 (id:150001) as
https://skia.googlesource.com/skia/+/33c594c9611529ba72474ec52586be65f3e2d76f

Powered by Google App Engine
This is Rietveld 408576698