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

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

Issue 417253003: Make CPU profiler function names match ones from StackFrame iterator. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebaseline Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/cpu-profiler.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 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_CPU_PROFILER_H_ 5 #ifndef V8_CPU_PROFILER_H_
6 #define V8_CPU_PROFILER_H_ 6 #define V8_CPU_PROFILER_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/base/atomicops.h" 9 #include "src/base/atomicops.h"
10 #include "src/base/platform/time.h" 10 #include "src/base/platform/time.h"
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 inline TickSample* StartTickSample(); 214 inline TickSample* StartTickSample();
215 inline void FinishTickSample(); 215 inline void FinishTickSample();
216 216
217 // Must be called via PROFILE macro, otherwise will crash when 217 // Must be called via PROFILE macro, otherwise will crash when
218 // profiling is not enabled. 218 // profiling is not enabled.
219 virtual void CallbackEvent(Name* name, Address entry_point); 219 virtual void CallbackEvent(Name* name, Address entry_point);
220 virtual void CodeCreateEvent(Logger::LogEventsAndTags tag, 220 virtual void CodeCreateEvent(Logger::LogEventsAndTags tag,
221 Code* code, const char* comment); 221 Code* code, const char* comment);
222 virtual void CodeCreateEvent(Logger::LogEventsAndTags tag, 222 virtual void CodeCreateEvent(Logger::LogEventsAndTags tag,
223 Code* code, Name* name); 223 Code* code, Name* name);
224 virtual void CodeCreateEvent(Logger::LogEventsAndTags tag, 224 virtual void CodeCreateEvent(Logger::LogEventsAndTags tag, Code* code,
225 Code* code,
226 SharedFunctionInfo* shared, 225 SharedFunctionInfo* shared,
227 CompilationInfo* info, 226 CompilationInfo* info, Name* script_name);
228 Name* name); 227 virtual void CodeCreateEvent(Logger::LogEventsAndTags tag, Code* code,
229 virtual void CodeCreateEvent(Logger::LogEventsAndTags tag,
230 Code* code,
231 SharedFunctionInfo* shared, 228 SharedFunctionInfo* shared,
232 CompilationInfo* info, 229 CompilationInfo* info, Name* script_name,
233 Name* source, int line, int column); 230 int line, int column);
234 virtual void CodeCreateEvent(Logger::LogEventsAndTags tag, 231 virtual void CodeCreateEvent(Logger::LogEventsAndTags tag,
235 Code* code, int args_count); 232 Code* code, int args_count);
236 virtual void CodeMovingGCEvent() {} 233 virtual void CodeMovingGCEvent() {}
237 virtual void CodeMoveEvent(Address from, Address to); 234 virtual void CodeMoveEvent(Address from, Address to);
238 virtual void CodeDisableOptEvent(Code* code, SharedFunctionInfo* shared); 235 virtual void CodeDisableOptEvent(Code* code, SharedFunctionInfo* shared);
239 virtual void CodeDeleteEvent(Address from); 236 virtual void CodeDeleteEvent(Address from);
240 virtual void GetterCallbackEvent(Name* name, Address entry_point); 237 virtual void GetterCallbackEvent(Name* name, Address entry_point);
241 virtual void RegExpCodeCreateEvent(Code* code, String* source); 238 virtual void RegExpCodeCreateEvent(Code* code, String* source);
242 virtual void SetterCallbackEvent(Name* name, Address entry_point); 239 virtual void SetterCallbackEvent(Name* name, Address entry_point);
243 virtual void SharedFunctionInfoMoveEvent(Address from, Address to); 240 virtual void SharedFunctionInfoMoveEvent(Address from, Address to);
(...skipping 22 matching lines...) Expand all
266 bool saved_is_logging_; 263 bool saved_is_logging_;
267 bool is_profiling_; 264 bool is_profiling_;
268 265
269 DISALLOW_COPY_AND_ASSIGN(CpuProfiler); 266 DISALLOW_COPY_AND_ASSIGN(CpuProfiler);
270 }; 267 };
271 268
272 } } // namespace v8::internal 269 } } // namespace v8::internal
273 270
274 271
275 #endif // V8_CPU_PROFILER_H_ 272 #endif // V8_CPU_PROFILER_H_
OLDNEW
« no previous file with comments | « no previous file | src/cpu-profiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698