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

Side by Side Diff: src/profiler/cpu-profiler.h

Issue 2503393002: [cpu-profiler] use new source position information for deoptimization in cpu profiler (Closed)
Patch Set: addressed comment Created 4 years, 1 month 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 | « src/objects.cc ('k') | src/profiler/cpu-profiler-inl.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 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
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
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_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/profiler/cpu-profiler-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698