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

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/objects/vm.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/tests/observatory_ui/mocks/objects/vm.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/vm.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/vm.dart
index 1b9db5591fb76c26205c4fca54c9efb09e93cdab..35a2a533674b6ea6f50765d2819afb45bacc2493 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/vm.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/vm.dart
@@ -17,8 +17,10 @@ class VMMock implements M.VM {
final String targetCPU;
final String hostCPU;
final String version;
+ final String embedder;
final int pid;
final int maxRSS;
+ final int currentRSS;
final DateTime startTime;
final Iterable<M.IsolateRef> isolates;
final int nativeZoneMemoryUsage = 0;
@@ -36,8 +38,10 @@ class VMMock implements M.VM {
this.targetCPU,
this.hostCPU,
this.version,
+ this.embedder,
this.pid: 0,
this.maxRSS: 0,
+ this.currentRSS: 0,
this.startTime,
this.isolates: const []});
}

Powered by Google App Engine
This is Rietveld 408576698