Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(262)

Unified Diff: runtime/observatory/lib/src/service/object.dart

Issue 2996803002: Add current rss and embedder name to Observatory (Closed)
Patch Set: Managing null currentRSS in graph tooltip Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/observatory/lib/src/service/object.dart
diff --git a/runtime/observatory/lib/src/service/object.dart b/runtime/observatory/lib/src/service/object.dart
index 246fba9f85110b8cdf473f2221350a625a9c0b3e..6814016d203439684d3cb3b0c431eb0d2a7696eb 100644
--- a/runtime/observatory/lib/src/service/object.dart
+++ b/runtime/observatory/lib/src/service/object.dart
@@ -670,6 +670,7 @@ abstract class VM extends ServiceObjectOwner implements M.VM {
String version = 'unknown';
String hostCPU;
String targetCPU;
+ String embedder;
int architectureBits;
bool assertsEnabled = false;
bool typeChecksEnabled = false;
@@ -677,7 +678,8 @@ abstract class VM extends ServiceObjectOwner implements M.VM {
int pid = 0;
int heapAllocatedMemoryUsage = 0;
int heapAllocationCount = 0;
- int maxRSS = 0;
+ int maxRSS;
+ int currentRSS;
bool profileVM = false;
DateTime startTime;
DateTime refreshTime;
@@ -981,7 +983,9 @@ abstract class VM extends ServiceObjectOwner implements M.VM {
if (map['_heapAllocationCount'] != null) {
heapAllocationCount = map['_heapAllocationCount'];
}
+ embedder = map['_embedder'];
maxRSS = map['_maxRSS'];
+ currentRSS = map['_currentRSS'];
profileVM = map['_profilerMode'] == 'VM';
assertsEnabled = map['_assertsEnabled'];
typeChecksEnabled = map['_typeChecksEnabled'];

Powered by Google App Engine
This is Rietveld 408576698