OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_PROFILER_CPU_PROFILER_H_ | 5 #ifndef V8_PROFILER_CPU_PROFILER_H_ |
6 #define V8_PROFILER_CPU_PROFILER_H_ | 6 #define V8_PROFILER_CPU_PROFILER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 const char* bailout_reason; | 76 const char* bailout_reason; |
77 | 77 |
78 INLINE(void UpdateCodeMap(CodeMap* code_map)); | 78 INLINE(void UpdateCodeMap(CodeMap* code_map)); |
79 }; | 79 }; |
80 | 80 |
81 | 81 |
82 class CodeDeoptEventRecord : public CodeEventRecord { | 82 class CodeDeoptEventRecord : public CodeEventRecord { |
83 public: | 83 public: |
84 Address start; | 84 Address start; |
85 const char* deopt_reason; | 85 const char* deopt_reason; |
86 SourcePosition position; | |
87 int deopt_id; | 86 int deopt_id; |
88 void* pc; | 87 void* pc; |
89 int fp_to_sp_delta; | 88 int fp_to_sp_delta; |
90 | 89 |
91 INLINE(void UpdateCodeMap(CodeMap* code_map)); | 90 INLINE(void UpdateCodeMap(CodeMap* code_map)); |
92 }; | 91 }; |
93 | 92 |
94 | 93 |
95 class ReportBuiltinEventRecord : public CodeEventRecord { | 94 class ReportBuiltinEventRecord : public CodeEventRecord { |
96 public: | 95 public: |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 bool is_profiling_; | 230 bool is_profiling_; |
232 | 231 |
233 DISALLOW_COPY_AND_ASSIGN(CpuProfiler); | 232 DISALLOW_COPY_AND_ASSIGN(CpuProfiler); |
234 }; | 233 }; |
235 | 234 |
236 } // namespace internal | 235 } // namespace internal |
237 } // namespace v8 | 236 } // namespace v8 |
238 | 237 |
239 | 238 |
240 #endif // V8_PROFILER_CPU_PROFILER_H_ | 239 #endif // V8_PROFILER_CPU_PROFILER_H_ |
OLD | NEW |