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

Side by Side Diff: runtime/observatory/lib/src/models/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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of models; 5 part of models;
6 6
7 abstract class VMRef { 7 abstract class VMRef {
8 /// A name identifying this vm. Not guaranteed to be unique. 8 /// A name identifying this vm. Not guaranteed to be unique.
9 String get name; 9 String get name;
10 10
(...skipping 12 matching lines...) Expand all
23 23
24 /// The CPU we are generating code for. 24 /// The CPU we are generating code for.
25 String get targetCPU; 25 String get targetCPU;
26 26
27 /// The CPU we are actually running on. 27 /// The CPU we are actually running on.
28 String get hostCPU; 28 String get hostCPU;
29 29
30 /// The Dart VM version string. 30 /// The Dart VM version string.
31 String get version; 31 String get version;
32 32
33 String get embedder;
34
33 /// The amount of memory currently allocated by native code in zones. 35 /// The amount of memory currently allocated by native code in zones.
34 int get nativeZoneMemoryUsage; 36 int get nativeZoneMemoryUsage;
35 37
36 /// The process id for the VM. 38 /// The process id for the VM.
37 int get pid; 39 int get pid;
38 40
39 /// The current amount of native heap allocated memory within the VM. 41 /// The current amount of native heap allocated memory within the VM.
40 int get heapAllocatedMemoryUsage; 42 int get heapAllocatedMemoryUsage;
41 43
42 /// The current number of allocations on the native heap within the VM. 44 /// The current number of allocations on the native heap within the VM.
43 int get heapAllocationCount; 45 int get heapAllocationCount;
44 46
45 int get maxRSS; 47 int get maxRSS;
48 int get currentRSS;
46 49
47 /// The time that the VM started in milliseconds since the epoch. 50 /// The time that the VM started in milliseconds since the epoch.
48 /// 51 ///
49 /// Suitable to pass to DateTime.fromMillisecondsSinceEpoch. 52 /// Suitable to pass to DateTime.fromMillisecondsSinceEpoch.
50 DateTime get startTime; 53 DateTime get startTime;
51 54
52 // A list of isolates running in the VM. 55 // A list of isolates running in the VM.
53 Iterable<IsolateRef> get isolates; 56 Iterable<IsolateRef> get isolates;
54 } 57 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698