| 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 "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/base/atomic-utils.h" | 9 #include "src/base/atomic-utils.h" |
| 10 #include "src/base/atomicops.h" | 10 #include "src/base/atomicops.h" |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 | 74 |
| 75 INLINE(void UpdateCodeMap(CodeMap* code_map)); | 75 INLINE(void UpdateCodeMap(CodeMap* code_map)); |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 | 78 |
| 79 class CodeDeoptEventRecord : public CodeEventRecord { | 79 class CodeDeoptEventRecord : public CodeEventRecord { |
| 80 public: | 80 public: |
| 81 Address start; | 81 Address start; |
| 82 const char* deopt_reason; | 82 const char* deopt_reason; |
| 83 SourcePosition position; | 83 SourcePosition position; |
| 84 size_t pc_offset; | 84 int inlining_id; |
| 85 | 85 |
| 86 INLINE(void UpdateCodeMap(CodeMap* code_map)); | 86 INLINE(void UpdateCodeMap(CodeMap* code_map)); |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 | 89 |
| 90 class ReportBuiltinEventRecord : public CodeEventRecord { | 90 class ReportBuiltinEventRecord : public CodeEventRecord { |
| 91 public: | 91 public: |
| 92 Address start; | 92 Address start; |
| 93 Builtins::Name builtin_id; | 93 Builtins::Name builtin_id; |
| 94 | 94 |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 bool is_profiling_; | 269 bool is_profiling_; |
| 270 | 270 |
| 271 DISALLOW_COPY_AND_ASSIGN(CpuProfiler); | 271 DISALLOW_COPY_AND_ASSIGN(CpuProfiler); |
| 272 }; | 272 }; |
| 273 | 273 |
| 274 } // namespace internal | 274 } // namespace internal |
| 275 } // namespace v8 | 275 } // namespace v8 |
| 276 | 276 |
| 277 | 277 |
| 278 #endif // V8_PROFILER_CPU_PROFILER_H_ | 278 #endif // V8_PROFILER_CPU_PROFILER_H_ |
| OLD | NEW |