OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 #ifndef VM_SERVICE_EVENT_H_ | 5 #ifndef VM_SERVICE_EVENT_H_ |
6 #define VM_SERVICE_EVENT_H_ | 6 #define VM_SERVICE_EVENT_H_ |
7 | 7 |
8 #include "vm/debugger.h" | 8 #include "vm/debugger.h" |
9 | 9 |
10 class DebuggerEvent; | 10 class DebuggerEvent; |
11 | 11 |
12 namespace dart { | 12 namespace dart { |
13 | 13 |
14 class ServiceEvent { | 14 class ServiceEvent { |
15 public: | 15 public: |
16 enum EventKind { | 16 enum EventKind { |
| 17 kVMUpdate, // VM identity information has changed |
| 18 |
17 kIsolateStart, // New isolate has started | 19 kIsolateStart, // New isolate has started |
18 kIsolateRunnable, // Isolate is ready to run | 20 kIsolateRunnable, // Isolate is ready to run |
19 kIsolateExit, // Isolate has exited | 21 kIsolateExit, // Isolate has exited |
20 kIsolateUpdate, // Isolate identity information has changed | 22 kIsolateUpdate, // Isolate identity information has changed |
21 | 23 |
22 kPauseStart, // --pause-isolates-on-start | 24 kPauseStart, // --pause-isolates-on-start |
23 kPauseExit, // --pause-isolates-on-exit | 25 kPauseExit, // --pause-isolates-on-exit |
24 kPauseBreakpoint, | 26 kPauseBreakpoint, |
25 kPauseInterrupted, | 27 kPauseInterrupted, |
26 kPauseException, | 28 kPauseException, |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 const Heap::GCStats* gc_stats_; | 175 const Heap::GCStats* gc_stats_; |
174 const uint8_t* bytes_; | 176 const uint8_t* bytes_; |
175 intptr_t bytes_length_; | 177 intptr_t bytes_length_; |
176 LogRecord log_record_; | 178 LogRecord log_record_; |
177 int64_t timestamp_; | 179 int64_t timestamp_; |
178 }; | 180 }; |
179 | 181 |
180 } // namespace dart | 182 } // namespace dart |
181 | 183 |
182 #endif // VM_SERVICE_EVENT_H_ | 184 #endif // VM_SERVICE_EVENT_H_ |
OLD | NEW |