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

Unified Diff: runtime/observatory/lib/src/models/objects/vm.dart

Issue 2170723002: Converted Observatory vm-nav-menu element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Added missing space Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: runtime/observatory/lib/src/models/objects/vm.dart
diff --git a/runtime/observatory/lib/src/models/objects/vm.dart b/runtime/observatory/lib/src/models/objects/vm.dart
new file mode 100644
index 0000000000000000000000000000000000000000..051a9fad2caa57ea5354cd2c1d117af2f42ba7f1
--- /dev/null
+++ b/runtime/observatory/lib/src/models/objects/vm.dart
@@ -0,0 +1,34 @@
+// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file
+
+part of models;
+
+abstract class VMRef {
+ String get name;
+}
+
+abstract class VM implements VMRef {
+ /// Word length on target architecture (e.g. 32, 64).
+ int get architectureBits;
+
+ /// The CPU we are generating code for.
+ String get targetCPU;
+
+ /// The CPU we are actually running on.
+ String get hostCPU;
+
+ /// The Dart VM version string.
+ String get version;
+
+ /// The process id for the VM.
+ int get pid;
+
+ /// The time that the VM started in milliseconds since the epoch.
+ ///
+ /// Suitable to pass to DateTime.fromMillisecondsSinceEpoch.
+ DateTime get startTime;
+
+ // A list of isolates running in the VM.
+ Iterable<IsolateRef> get isolates;
+}
« no previous file with comments | « runtime/observatory/lib/src/models/objects/target.dart ('k') | runtime/observatory/lib/src/service/object.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698