|
Add current rss and embedder name to Observatory
Moved the responsibility to provide MaxRSS and CurrentRSS from the VM to
the embedder.
The embedder can opt-it by setting a Dart_GetEmbedderInformation
callback using the public Dart_SetEmbedderInformationCallback API.
The implementation of the Dart_GetEmbedderInformation should mandatory
fill the version field and the ones it is able to fill.
The name field must reference a constant C style string, it will not be
freed by the VM code.
R=zra@google.com
Committed: https://github.com/dart-lang/sdk/commit/ce736d3ef009bf334a92d5b7d354fc0b04805b4f
Total comments: 22
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+331 lines, -119 lines) |
Patch |
|
M |
runtime/bin/main.cc
|
View
|
1
2
3
4
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/bin/process_android.cc
|
View
|
1
2
|
1 chunk |
+12 lines, -10 lines |
0 comments
|
Download
|
|
M |
runtime/bin/process_linux.cc
|
View
|
1
2
|
1 chunk |
+12 lines, -10 lines |
0 comments
|
Download
|
|
M |
runtime/include/dart_tools_api.h
|
View
|
1
2
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/models.dart
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/repositories.dart
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/app/page.dart
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/memory/dashboard.dart
|
View
|
|
4 chunks |
+9 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/memory/graph.dart
|
View
|
1
2
3
4
|
11 chunks |
+60 lines, -34 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/vm_view.dart
|
View
|
1
2
|
7 chunks |
+42 lines, -5 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/models/objects/vm.dart
|
View
|
1
2
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/observatory/lib/src/models/repositories/vm.dart
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/observatory/lib/src/repositories/vm.dart
|
View
|
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/service/object.dart
|
View
|
1
2
|
3 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/observatory_sources.gypi
|
View
|
1
2
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/tests/observatory_ui/mocks/objects/vm.dart
|
View
|
1
2
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/tests/service/vm_test.dart
|
View
|
1
2
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/benchmark_test.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/dart_api_impl.cc
|
View
|
1
2
3
4
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/metrics.h
|
View
|
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/metrics.cc
|
View
|
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/os.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/vm/os_android.cc
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
|
M |
runtime/vm/os_fuchsia.cc
|
View
|
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
|
M |
runtime/vm/os_linux.cc
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
|
M |
runtime/vm/os_macos.cc
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
|
M |
runtime/vm/os_win.cc
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service.h
|
View
|
1
2
3
|
4 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service.cc
|
View
|
1
2
3
|
4 chunks |
+59 lines, -1 line |
0 comments
|
Download
|
Total messages: 16 (4 generated)
|