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

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

Issue 2250793004: Observatory: Report peak process memory usage. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: sync Created 4 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
« no previous file with comments | « runtime/observatory/lib/src/elements/vm_view.html ('k') | runtime/vm/os.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 91566e917e73dbccc516341e3a9633f6f5ca31d8..fabc340c386f945811bf77dc033e5b073f57d895 100644
--- a/runtime/observatory/lib/src/service/object.dart
+++ b/runtime/observatory/lib/src/service/object.dart
@@ -632,6 +632,7 @@ abstract class VM extends ServiceObjectOwner implements M.VM {
@observable bool assertsEnabled = false;
@observable bool typeChecksEnabled = false;
@observable int pid = 0;
+ @observable int maxRSS = 0;
@observable bool profileVM = false;
@observable DateTime startTime;
@observable DateTime refreshTime;
@@ -909,6 +910,7 @@ abstract class VM extends ServiceObjectOwner implements M.VM {
refreshTime = new DateTime.now();
notifyPropertyChange(#upTime, 0, 1);
pid = map['pid'];
+ maxRSS = map['_maxRSS'];
profileVM = map['_profilerMode'] == 'VM';
assertsEnabled = map['_assertsEnabled'];
typeChecksEnabled = map['_typeChecksEnabled'];
« no previous file with comments | « runtime/observatory/lib/src/elements/vm_view.html ('k') | runtime/vm/os.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698