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

Side by Side Diff: runtime/vm/isolate.h

Issue 1275113003: Endless thread safe timeline recorder (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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_ISOLATE_H_ 5 #ifndef VM_ISOLATE_H_
6 #define VM_ISOLATE_H_ 6 #define VM_ISOLATE_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "vm/base_isolate.h" 10 #include "vm/base_isolate.h"
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 TraceBuffer* trace_buffer() { 562 TraceBuffer* trace_buffer() {
563 return trace_buffer_; 563 return trace_buffer_;
564 } 564 }
565 565
566 void SetTimelineEventRecorder(TimelineEventRecorder* timeline_event_recorder); 566 void SetTimelineEventRecorder(TimelineEventRecorder* timeline_event_recorder);
567 567
568 TimelineEventRecorder* timeline_event_recorder() const { 568 TimelineEventRecorder* timeline_event_recorder() const {
569 return timeline_event_recorder_; 569 return timeline_event_recorder_;
570 } 570 }
571 571
572 TimelineEventBlock* GetNewTimelineBlock() {
573 if (timeline_event_recorder_ == NULL) {
574 return NULL;
575 }
576 return timeline_event_recorder_->GetNewBlock();
577 }
578
572 void RemoveTimelineEventRecorder(); 579 void RemoveTimelineEventRecorder();
573 580
574 DeoptContext* deopt_context() const { return deopt_context_; } 581 DeoptContext* deopt_context() const { return deopt_context_; }
575 void set_deopt_context(DeoptContext* value) { 582 void set_deopt_context(DeoptContext* value) {
576 ASSERT(value == NULL || deopt_context_ == NULL); 583 ASSERT(value == NULL || deopt_context_ == NULL);
577 deopt_context_ = value; 584 deopt_context_ = value;
578 } 585 }
579 586
580 int32_t edge_counter_increment_size() const { 587 int32_t edge_counter_increment_size() const {
581 return edge_counter_increment_size_; 588 return edge_counter_increment_size_;
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
1083 uint8_t* serialized_message_; 1090 uint8_t* serialized_message_;
1084 intptr_t serialized_message_len_; 1091 intptr_t serialized_message_len_;
1085 Isolate::Flags isolate_flags_; 1092 Isolate::Flags isolate_flags_;
1086 bool paused_; 1093 bool paused_;
1087 bool errors_are_fatal_; 1094 bool errors_are_fatal_;
1088 }; 1095 };
1089 1096
1090 } // namespace dart 1097 } // namespace dart
1091 1098
1092 #endif // VM_ISOLATE_H_ 1099 #endif // VM_ISOLATE_H_
OLDNEW
« no previous file with comments | « runtime/vm/dart.cc ('k') | runtime/vm/thread.h » ('j') | runtime/vm/thread.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698