|
Add Timeline to dart:developer
- This CL only adds support for synchronous blocks of time. A follow up CL will add asynchronous blocks of time.
- Reports true thread id to tracing system. This is an improvement over Mojo's tracing helper.
- Dart events are included in individual isolate traces and global traces obtained via the embedders API.
- Dart events are included in the write to disk path (--timeline_dir).
R=rmacnak@google.com
Committed: https://github.com/dart-lang/sdk/commit/03b41129a2d21c3fb7c9a7ae7f29851a4aaec163
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+799 lines, -72 lines) |
Patch |
|
M |
runtime/include/dart_tools_api.h
|
View
|
1
2
|
2 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
|
M |
runtime/lib/developer_sources.gypi
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/lib/timeline.cc
|
View
|
1
2
|
1 chunk |
+60 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/lib/timeline.dart
|
View
|
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/bootstrap_natives.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/dart_api_impl.cc
|
View
|
1
2
3
4
5
|
8 chunks |
+120 lines, -59 lines |
0 comments
|
Download
|
|
M |
runtime/vm/dart_api_impl_test.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+94 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/timeline.h
|
View
|
1
2
|
13 chunks |
+92 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/timeline.cc
|
View
|
1
2
3
4
5
6
|
13 chunks |
+264 lines, -7 lines |
0 comments
|
Download
|
|
M |
runtime/vm/timeline_test.cc
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/zone.h
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/zone.cc
|
View
|
1
2
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
M |
sdk/lib/_internal/js_runtime/lib/developer_patch.dart
|
View
|
1
2
3
4
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
M |
sdk/lib/developer/developer.dart
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
sdk/lib/developer/developer_sources.gypi
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
sdk/lib/developer/timeline.dart
|
View
|
1
2
3
4
5
|
1 chunk |
+103 lines, -0 lines |
0 comments
|
Download
|
Total messages: 6 (1 generated)
|