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

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

Issue 2992893002: Reapply "[vm] Don't enable the profiler by default. Enable the profiler at startup with --observe, … (Closed)
Patch Set: native symbol resolver Created 3 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 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
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 }
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/sample_buffer_control.dart ('k') | runtime/observatory/lib/src/service/object.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698