|
Initial Timeline Events
- Each isolate has its own TimelineEventBuffer
- Each isolate has TimelineEventStreams for API, Compiler, Embedder, Isolate, and GC
- Compiler, Isolate, Embedder, and GC are being inserted into the stream
- Basic unit tests
- Dart API for injecting timeline events
- Arbitrary number of native and Dart arguments can be attached to each event
- JSON printing
- Output can be loaded by about://tracing
- Add --timeline-trace-dir flag
Short term follow up CLS:
- Service protocol requests to enable / disable tracing and retrieve a trace
- UI for Observatory
- Dart code EventStreams and Events
R=asiva@google.com
Committed: https://github.com/dart-lang/sdk/commit/c7187924a95238027624d2441f17c38ae49395f4
Total comments: 3
Total comments: 9
Total comments: 6
Total comments: 36
Total comments: 14
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1277 lines, -6 lines) |
Patch |
|
M |
runtime/bin/dartutils.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/bin/isolate_data.h
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/include/dart_api.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+74 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/compiler.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/dart.cc
|
View
|
1
2
3
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/dart_api_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+100 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/dart_api_impl_test.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+73 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/deopt_instructions.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/deopt_instructions.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
4 chunks |
+33 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/heap.cc
|
View
|
1
2
3
4
|
5 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/isolate.h
|
View
|
1
2
3
4
5
6
|
5 chunks |
+23 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/isolate.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
9 chunks |
+43 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/json_stream.h
|
View
|
1
2
3
|
6 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/json_stream.cc
|
View
|
1
2
3
|
3 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service_isolate.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/vm/timeline.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+276 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/vm/timeline.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+443 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/vm/timeline_test.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+136 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/vm_sources.gypi
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
Total messages: 14 (1 generated)
|