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_TIMELINE_H_ | 5 #ifndef VM_TIMELINE_H_ |
6 #define VM_TIMELINE_H_ | 6 #define VM_TIMELINE_H_ |
7 | 7 |
8 #include "include/dart_tools_api.h" | 8 #include "include/dart_tools_api.h" |
9 | 9 |
10 #include "vm/allocation.h" | 10 #include "vm/allocation.h" |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 | 323 |
324 class EventTypeField : public BitField<uword, EventType, kEventTypeBit, 4> {}; | 324 class EventTypeField : public BitField<uword, EventType, kEventTypeBit, 4> {}; |
325 class PreSerializedJSON : | 325 class PreSerializedJSON : |
326 public BitField<uword, bool, kPreSerializedJSON, 1> {}; | 326 public BitField<uword, bool, kPreSerializedJSON, 1> {}; |
327 | 327 |
328 int64_t timestamp0_; | 328 int64_t timestamp0_; |
329 int64_t timestamp1_; | 329 int64_t timestamp1_; |
330 TimelineEventArgument* arguments_; | 330 TimelineEventArgument* arguments_; |
331 intptr_t arguments_length_; | 331 intptr_t arguments_length_; |
332 uword state_; | 332 uword state_; |
333 const char* label_; | 333 char* label_; |
334 const char* category_; | 334 const char* category_; |
335 ThreadId thread_; | 335 ThreadId thread_; |
336 Dart_Port isolate_id_; | 336 Dart_Port isolate_id_; |
337 | 337 |
338 friend class TimelineEventRecorder; | 338 friend class TimelineEventRecorder; |
339 friend class TimelineEventEndlessRecorder; | 339 friend class TimelineEventEndlessRecorder; |
340 friend class TimelineEventRingRecorder; | 340 friend class TimelineEventRingRecorder; |
341 friend class TimelineEventStartupRecorder; | 341 friend class TimelineEventStartupRecorder; |
342 friend class TimelineStream; | 342 friend class TimelineStream; |
343 friend class TimelineTestHelper; | 343 friend class TimelineTestHelper; |
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
838 | 838 |
839 private: | 839 private: |
840 TimelineEventBlock* current_; | 840 TimelineEventBlock* current_; |
841 TimelineEventRecorder* recorder_; | 841 TimelineEventRecorder* recorder_; |
842 }; | 842 }; |
843 | 843 |
844 | 844 |
845 } // namespace dart | 845 } // namespace dart |
846 | 846 |
847 #endif // VM_TIMELINE_H_ | 847 #endif // VM_TIMELINE_H_ |
OLD | NEW |