| 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 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 /// The CPU we are actually running on. | 23 /// The CPU we are actually running on. |
| 24 String get hostCPU; | 24 String get hostCPU; |
| 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 process id for the VM. | 29 /// The process id for the VM. |
| 30 int get pid; | 30 int get pid; |
| 31 | 31 |
| 32 int get maxRSS; |
| 33 |
| 32 /// The time that the VM started in milliseconds since the epoch. | 34 /// The time that the VM started in milliseconds since the epoch. |
| 33 /// | 35 /// |
| 34 /// Suitable to pass to DateTime.fromMillisecondsSinceEpoch. | 36 /// Suitable to pass to DateTime.fromMillisecondsSinceEpoch. |
| 35 DateTime get startTime; | 37 DateTime get startTime; |
| 36 | 38 |
| 37 // A list of isolates running in the VM. | 39 // A list of isolates running in the VM. |
| 38 Iterable<IsolateRef> get isolates; | 40 Iterable<IsolateRef> get isolates; |
| 39 } | 41 } |
| OLD | NEW |