|
Implement tagging of profiler log event blocks.
This change allows to associate integer tags with blocks of profiler
log events, and repeat calls to 'ResumeProfiler' / 'PauseProfiler' in
order to establsh nested (not necessary properly nested) blocks. By
supporting this, we will be able to match WebInspector's CPU profiler
abilities in DevTools.
I also refactored some testing code.
Committed: http://code.google.com/p/v8/source/detail?r=3889
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+293 lines, -170 lines) |
Patch |
|
M |
include/v8.h
|
View
|
|
1 chunk |
+12 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/api.cc
|
View
|
|
3 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/checks.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/debug-delay.js
|
View
|
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/log.h
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/log.cc
|
View
|
|
3 chunks |
+42 lines, -33 lines |
2 comments
|
Download
|
|
M |
src/runtime.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/runtime.cc
|
View
|
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-log.cc
|
View
|
|
9 chunks |
+210 lines, -114 lines |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|