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 String get name; | 8 String get name; |
turnidge
2016/08/04 18:16:36
Blank line.
cbernaschina
2016/08/04 21:00:20
Done.
| |
9 /// Not actually from the apis. | |
10 String get displayName; | |
9 } | 11 } |
10 | 12 |
11 abstract class VM implements VMRef { | 13 abstract class VM implements VMRef { |
12 /// Word length on target architecture (e.g. 32, 64). | 14 /// Word length on target architecture (e.g. 32, 64). |
13 int get architectureBits; | 15 int get architectureBits; |
14 | 16 |
15 /// The CPU we are generating code for. | 17 /// The CPU we are generating code for. |
16 String get targetCPU; | 18 String get targetCPU; |
17 | 19 |
18 /// The CPU we are actually running on. | 20 /// The CPU we are actually running on. |
19 String get hostCPU; | 21 String get hostCPU; |
20 | 22 |
21 /// The Dart VM version string. | 23 /// The Dart VM version string. |
22 String get version; | 24 String get version; |
23 | 25 |
24 /// The process id for the VM. | 26 /// The process id for the VM. |
25 int get pid; | 27 int get pid; |
26 | 28 |
27 /// The time that the VM started in milliseconds since the epoch. | 29 /// The time that the VM started in milliseconds since the epoch. |
28 /// | 30 /// |
29 /// Suitable to pass to DateTime.fromMillisecondsSinceEpoch. | 31 /// Suitable to pass to DateTime.fromMillisecondsSinceEpoch. |
30 DateTime get startTime; | 32 DateTime get startTime; |
31 | 33 |
32 // A list of isolates running in the VM. | 34 // A list of isolates running in the VM. |
33 Iterable<IsolateRef> get isolates; | 35 Iterable<IsolateRef> get isolates; |
34 } | 36 } |
OLD | NEW |