| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 | 44 |
| 45 int get maxRSS; | 45 int get maxRSS; |
| 46 | 46 |
| 47 /// The time that the VM started in milliseconds since the epoch. | 47 /// The time that the VM started in milliseconds since the epoch. |
| 48 /// | 48 /// |
| 49 /// Suitable to pass to DateTime.fromMillisecondsSinceEpoch. | 49 /// Suitable to pass to DateTime.fromMillisecondsSinceEpoch. |
| 50 DateTime get startTime; | 50 DateTime get startTime; |
| 51 | 51 |
| 52 // A list of isolates running in the VM. | 52 // A list of isolates running in the VM. |
| 53 Iterable<IsolateRef> get isolates; | 53 Iterable<IsolateRef> get isolates; |
| 54 |
| 55 /// Enable the sampling profiler. |
| 56 Future enableProfiler(); |
| 54 } | 57 } |
| OLD | NEW |