Chromium Code Reviews| Index: runtime/vm/debugger.h |
| diff --git a/runtime/vm/debugger.h b/runtime/vm/debugger.h |
| index 15893d19966d39c5ef8986a2a07f4d08d446d0b6..396e8b247617c4715ae62f179f20a1c5d3813f29 100644 |
| --- a/runtime/vm/debugger.h |
| +++ b/runtime/vm/debugger.h |
| @@ -355,7 +355,8 @@ class DebuggerEvent { |
| breakpoint_(NULL), |
| exception_(NULL), |
| async_continuation_(NULL), |
| - at_async_jump_(false) {} |
| + at_async_jump_(false), |
| + timestamp_(-1) {} |
|
turnidge
2015/08/25 18:25:31
Let's not put this in DebuggerEvent. Instead let'
turnidge
2015/08/25 18:29:03
Nevermind.
|
| Isolate* isolate() const { return isolate_; } |
| @@ -414,6 +415,12 @@ class DebuggerEvent { |
| return isolate_->main_port(); |
| } |
| + void UpdateTimestamp(); |
| + |
| + int64_t timestamp() const { |
| + return timestamp_; |
| + } |
| + |
| private: |
| Isolate* isolate_; |
| EventType type_; |
| @@ -422,6 +429,7 @@ class DebuggerEvent { |
| const Object* exception_; |
| const Object* async_continuation_; |
| bool at_async_jump_; |
| + int64_t timestamp_; |
| }; |