| OLD | NEW |
| 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 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 /// The Dart VM version string. | 26 /// The Dart VM version string. |
| 27 String get version; | 27 String get version; |
| 28 | 28 |
| 29 /// The amount of memory currently allocated by native code in zones. | 29 /// The amount of memory currently allocated by native code in zones. |
| 30 int get nativeZoneMemoryUsage; | 30 int get nativeZoneMemoryUsage; |
| 31 | 31 |
| 32 /// The process id for the VM. | 32 /// The process id for the VM. |
| 33 int get pid; | 33 int get pid; |
| 34 | 34 |
| 35 /// The current amount of native heap allocated memory within the VM. |
| 36 int get heapAllocatedMemoryUsage; |
| 37 |
| 38 /// The current number of allocations on the native heap within the VM. |
| 39 int get heapAllocationCount; |
| 40 |
| 35 int get maxRSS; | 41 int get maxRSS; |
| 36 | 42 |
| 37 /// The time that the VM started in milliseconds since the epoch. | 43 /// The time that the VM started in milliseconds since the epoch. |
| 38 /// | 44 /// |
| 39 /// Suitable to pass to DateTime.fromMillisecondsSinceEpoch. | 45 /// Suitable to pass to DateTime.fromMillisecondsSinceEpoch. |
| 40 DateTime get startTime; | 46 DateTime get startTime; |
| 41 | 47 |
| 42 // A list of isolates running in the VM. | 48 // A list of isolates running in the VM. |
| 43 Iterable<IsolateRef> get isolates; | 49 Iterable<IsolateRef> get isolates; |
| 44 } | 50 } |
| OLD | NEW |