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_ANALYSIS_H_ | 5 #ifndef RUNTIME_VM_TIMELINE_ANALYSIS_H_ |
6 #define VM_TIMELINE_ANALYSIS_H_ | 6 #define RUNTIME_VM_TIMELINE_ANALYSIS_H_ |
7 | 7 |
8 #include "vm/growable_array.h" | 8 #include "vm/growable_array.h" |
9 #include "vm/timeline.h" | 9 #include "vm/timeline.h" |
10 | 10 |
11 namespace dart { | 11 namespace dart { |
12 | 12 |
13 class TimelineAnalysisThread : public ZoneAllocated { | 13 class TimelineAnalysisThread : public ZoneAllocated { |
14 public: | 14 public: |
15 explicit TimelineAnalysisThread(ThreadId id); | 15 explicit TimelineAnalysisThread(ThreadId id); |
16 ~TimelineAnalysisThread(); | 16 ~TimelineAnalysisThread(); |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 private: | 229 private: |
230 TimelineLabelPauseInfo* GetOrAddLabelPauseInfo(const char* name); | 230 TimelineLabelPauseInfo* GetOrAddLabelPauseInfo(const char* name); |
231 void Aggregate(const TimelineLabelPauseInfo* thread_pause_info); | 231 void Aggregate(const TimelineLabelPauseInfo* thread_pause_info); |
232 void PrintPauseInfo(const TimelineLabelPauseInfo* pause_info); | 232 void PrintPauseInfo(const TimelineLabelPauseInfo* pause_info); |
233 | 233 |
234 ZoneGrowableArray<TimelineLabelPauseInfo*> isolate_labels_; | 234 ZoneGrowableArray<TimelineLabelPauseInfo*> isolate_labels_; |
235 }; | 235 }; |
236 | 236 |
237 } // namespace dart | 237 } // namespace dart |
238 | 238 |
239 #endif // VM_TIMELINE_ANALYSIS_H_ | 239 #endif // RUNTIME_VM_TIMELINE_ANALYSIS_H_ |
OLD | NEW |