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

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

Issue 1541073002: Implement safepointing of threads (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: fix-typo Created 4 years, 10 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
« no previous file with comments | « runtime/vm/thread_test.cc ('k') | runtime/vm/unit_test.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/bitfield.h" 9 #include "vm/bitfield.h"
10 #include "vm/os.h" 10 #include "vm/os.h"
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 intptr_t block_index_; 523 intptr_t block_index_;
524 524
525 // Only accessed under the recorder's lock. 525 // Only accessed under the recorder's lock.
526 ThreadId thread_id_; 526 ThreadId thread_id_;
527 bool in_use_; 527 bool in_use_;
528 528
529 void Open(); 529 void Open();
530 void Finish(); 530 void Finish();
531 531
532 friend class Thread; 532 friend class Thread;
533 friend class ThreadRegistry;
534 friend class TimelineEventRecorder; 533 friend class TimelineEventRecorder;
535 friend class TimelineEventRingRecorder; 534 friend class TimelineEventRingRecorder;
536 friend class TimelineEventEndlessRecorder; 535 friend class TimelineEventEndlessRecorder;
537 friend class TimelineTestHelper; 536 friend class TimelineTestHelper;
538 537
539 private: 538 private:
540 DISALLOW_COPY_AND_ASSIGN(TimelineEventBlock); 539 DISALLOW_COPY_AND_ASSIGN(TimelineEventBlock);
541 }; 540 };
542 541
543 542
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
743 742
744 private: 743 private:
745 TimelineEventBlock* current_; 744 TimelineEventBlock* current_;
746 TimelineEventRecorder* recorder_; 745 TimelineEventRecorder* recorder_;
747 }; 746 };
748 747
749 748
750 } // namespace dart 749 } // namespace dart
751 750
752 #endif // VM_TIMELINE_H_ 751 #endif // VM_TIMELINE_H_
OLDNEW
« no previous file with comments | « runtime/vm/thread_test.cc ('k') | runtime/vm/unit_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698