|
Stream blocks of timeline events over the service protocol. Can be used to monitor long running programs without buffering all events inside the VM.
- Rename TimelineEventStreamingRecorder to TimelineEventCallbackRecorder. Note that this should only be used for tests.
- Add 'Timeline' service event stream.
- Send a 'TimelineEvents' event on the 'Timeline' stream whenever a TimelineEventBlock is finished and the 'Timeline' stream is subscribed to.
- Simple service protocol test.
R=turnidge@google.com
Committed: https://github.com/dart-lang/sdk/commit/32abe2ce550c80db520c72871552e0a114127ca9
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+203 lines, -25 lines) |
Patch |
|
M |
runtime/observatory/lib/src/service/object.dart
|
View
|
1
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/tests/service/service_test_common.dart
|
View
|
1
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/observatory/tests/service/vm_timeline_events_test.dart
|
View
|
1
|
1 chunk |
+71 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/json_stream.h
|
View
|
|
5 chunks |
+16 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/vm/json_stream.cc
|
View
|
|
2 chunks |
+15 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service.cc
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service/service.md
|
View
|
1
|
3 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service_event.h
|
View
|
1
|
4 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service_event.cc
|
View
|
1
|
6 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/timeline.h
|
View
|
|
3 chunks |
+12 lines, -8 lines |
0 comments
|
Download
|
|
M |
runtime/vm/timeline.cc
|
View
|
|
6 chunks |
+23 lines, -7 lines |
0 comments
|
Download
|
|
M |
runtime/vm/timeline_test.cc
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
Total messages: 11 (6 generated)
|