|
|
Add an API for additional profile log records
Add the API V8::AddProfilerMark which will add a "mark" record
into the profile log (if any). Currently the mark record is only
added when using the log-based profiler.
This allows the embedder to add marks to the profile to indicate
specific points in the execution when profiling.
Update the profile processer to display the marks and the number
of ticks which happened before each mark. Also added calculation
of the bytes of generated machine code which is displayed with
the marks and as a general statistics.
Also updated to profile processer to display the number of ticks
for each VM state and not just GC.
R=jkummerow@chromium.org
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+171 lines, -29 lines) |
Patch |
 |
M |
include/v8.h
|
View
|
|
1 chunk |
+5 lines, -0 lines |
1 comment
|
Download
|
 |
M |
src/api.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/log.h
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/log.cc
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
test/mjsunit/tools/tickprocessor-test.default
|
View
|
|
2 chunks |
+10 lines, -3 lines |
0 comments
|
Download
|
 |
M |
test/mjsunit/tools/tickprocessor-test.func-info
|
View
|
|
2 chunks |
+11 lines, -3 lines |
0 comments
|
Download
|
 |
M |
test/mjsunit/tools/tickprocessor-test.gc-state
|
View
|
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
test/mjsunit/tools/tickprocessor-test.ignore-unknown
|
View
|
|
2 chunks |
+10 lines, -3 lines |
1 comment
|
Download
|
 |
M |
test/mjsunit/tools/tickprocessor-test.separate-ic
|
View
|
|
2 chunks |
+10 lines, -3 lines |
0 comments
|
Download
|
 |
M |
tools/profile.js
|
View
|
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tools/tickprocessor.js
|
View
|
|
14 chunks |
+100 lines, -14 lines |
1 comment
|
Download
|
Total messages: 4 (1 generated)
|