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

Side by Side Diff: runtime/observatory/lib/src/models/objects/isolate.dart

Issue 2217723004: Converted Observatory isolate-summary element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Removed patch file Created 4 years, 4 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 unified diff | Download patch
OLDNEW
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 IsolateRef { 7 abstract class IsolateRef {
8 /// The id which is passed to the getIsolate RPC to reload this
9 /// isolate.
8 String get id; 10 String get id;
11
12 /// A numeric id for this isolate, represented as a string. Unique.
9 int get number; 13 int get number;
14
15 /// A name identifying this isolate. Not guaranteed to be unique.
10 String get name; 16 String get name;
11 } 17 }
12 18
13 abstract class Isolate extends IsolateRef { 19 abstract class Isolate extends IsolateRef {
20 /// The time that the VM started in milliseconds since the epoch.
14 DateTime get startTime; 21 DateTime get startTime;
22
23 /// Is the isolate in a runnable state?
15 bool get runnable; 24 bool get runnable;
25
26 /// The number of live ports for this isolate.
27 //int get livePorts;
28
29 /// Will this isolate pause when exiting?
30 //bool get pauseOnExit;
31
32 /// The last pause event delivered to the isolate. If the isolate is
33 /// running, this will be a resume event.
34 //Event get pauseEvent;
35
36 /// [optional] The root library for this isolate.
37 ///
38 /// Guaranteed to be initialized when the IsolateRunnable event fires.
39 //LibraryRef get rootLib;
40
41 /// A list of all libraries for this isolate.
42 ///
43 /// Guaranteed to be initialized when the IsolateRunnable event fires.
44 Iterable<LibraryRef> get libraries;
45
46 /// A list of all breakpoints for this isolate.
47 //Iterable<Breakpoint> get breakpoints;
48
49 /// [optional] The error that is causing this isolate to exit, if applicable.
50 Error get error;
51
52 /// The current pause on exception mode for this isolate.
53 //ExceptionPauseMode get exceptionPauseMode;
54
55 /// [optional]The list of service extension RPCs that are registered for this
56 /// isolate, if any.
57 Iterable<String> get extensionRPCs;
58
59 Map get counters;
60 HeapSpace get newSpace;
61 HeapSpace get oldSpace;
16 } 62 }
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/models/objects/heap_space.dart ('k') | runtime/observatory/lib/src/service/object.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698