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

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

Issue 1296353002: Add --timing (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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_registry.cc ('k') | runtime/vm/timeline.cc » ('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 10
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 intptr_t length_; 389 intptr_t length_;
390 intptr_t block_index_; 390 intptr_t block_index_;
391 391
392 // Only accessed under the recorder's lock. 392 // Only accessed under the recorder's lock.
393 Isolate* isolate_; 393 Isolate* isolate_;
394 bool open_; 394 bool open_;
395 395
396 void Open(Isolate* isolate); 396 void Open(Isolate* isolate);
397 void Finish(); 397 void Finish();
398 398
399 friend class Thread;
399 friend class ThreadRegistry; 400 friend class ThreadRegistry;
400 friend class TimelineEventRecorder; 401 friend class TimelineEventRecorder;
401 friend class TimelineEventRingRecorder; 402 friend class TimelineEventRingRecorder;
402 friend class TimelineEventEndlessRecorder; 403 friend class TimelineEventEndlessRecorder;
403 friend class TimelineTestHelper; 404 friend class TimelineTestHelper;
404 405
405 private: 406 private:
406 DISALLOW_COPY_AND_ASSIGN(TimelineEventBlock); 407 DISALLOW_COPY_AND_ASSIGN(TimelineEventBlock);
407 }; 408 };
408 409
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 TimelineEventBlock* Next(); 592 TimelineEventBlock* Next();
592 593
593 private: 594 private:
594 TimelineEventBlock* current_; 595 TimelineEventBlock* current_;
595 TimelineEventRecorder* recorder_; 596 TimelineEventRecorder* recorder_;
596 }; 597 };
597 598
598 } // namespace dart 599 } // namespace dart
599 600
600 #endif // VM_TIMELINE_H_ 601 #endif // VM_TIMELINE_H_
OLDNEW
« no previous file with comments | « runtime/vm/thread_registry.cc ('k') | runtime/vm/timeline.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698