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

Issue 1779333004: Add profile data to getSourceReport (Closed)

Created:
4 years, 9 months ago by Cutch
Modified:
4 years, 9 months ago
Reviewers:
turnidge, siva
CC:
reviews_dartlang.org, turnidge, rmacnak, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add profile data to getSourceReport - Add new getSourceReport kind 'Profile'. - Add "profileTicks" to source ranges that have profile data. - "profileTicks" is organized as three arrays: positions, inclusive ticks, and exclusive ticks. These arrays are indexed together. - Keep source positions in profile sorted by token position value. - Misc improvements to debug printing in profiler. - Add unit test for profile getSourceReport. R=turnidge@google.com Committed: https://github.com/dart-lang/sdk/commit/ffbd0b763ae012530660705963ef4c8e936fd95d

Patch Set 1 #

Patch Set 2 : #

Total comments: 12

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+371 lines, -36 lines) Patch
M runtime/vm/profiler_service.h View 3 chunks +12 lines, -0 lines 0 comments Download
M runtime/vm/profiler_service.cc View 1 2 6 chunks +68 lines, -25 lines 0 comments Download
M runtime/vm/profiler_test.cc View 1 2 2 chunks +199 lines, -0 lines 0 comments Download
M runtime/vm/service.cc View 1 2 2 chunks +9 lines, -11 lines 0 comments Download
M runtime/vm/source_report.h View 1 2 5 chunks +10 lines, -0 lines 0 comments Download
M runtime/vm/source_report.cc View 1 2 5 chunks +73 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
Cutch
4 years, 9 months ago (2016-03-11 00:57:41 UTC) #3
siva
https://codereview.chromium.org/1779333004/diff/20001/runtime/vm/profiler_service.cc File runtime/vm/profiler_service.cc (right): https://codereview.chromium.org/1779333004/diff/20001/runtime/vm/profiler_service.cc#newcode2135 runtime/vm/profiler_service.cc:2135: } Is this accessor here and not in the ...
4 years, 9 months ago (2016-03-11 15:03:42 UTC) #5
Cutch
https://codereview.chromium.org/1779333004/diff/20001/runtime/vm/profiler_service.cc File runtime/vm/profiler_service.cc (right): https://codereview.chromium.org/1779333004/diff/20001/runtime/vm/profiler_service.cc#newcode2135 runtime/vm/profiler_service.cc:2135: } On 2016/03/11 15:03:42, siva wrote: > Is this ...
4 years, 9 months ago (2016-03-11 17:16:20 UTC) #6
turnidge
Do you want to update service.md too? https://codereview.chromium.org/1779333004/diff/20001/runtime/vm/profiler_test.cc File runtime/vm/profiler_test.cc (right): https://codereview.chromium.org/1779333004/diff/20001/runtime/vm/profiler_test.cc#newcode2318 runtime/vm/profiler_test.cc:2318: sample->SetAt(i, pc_offsets[i] ...
4 years, 9 months ago (2016-03-11 18:31:58 UTC) #7
Cutch
I don't plan on updating service.md yet and I've made the source report key private ...
4 years, 9 months ago (2016-03-11 20:20:00 UTC) #8
turnidge
lgtm
4 years, 9 months ago (2016-03-11 22:17:07 UTC) #9
Cutch
4 years, 9 months ago (2016-03-14 14:04:31 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
ffbd0b763ae012530660705963ef4c8e936fd95d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698