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

Side by Side Diff: src/log.h

Issue 984773003: CpuProfiler: fix for GetDeoptReason code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: comments addressed Created 5 years, 9 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
« no previous file with comments | « src/deoptimizer.cc ('k') | src/log.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_LOG_H_ 5 #ifndef V8_LOG_H_
6 #define V8_LOG_H_ 6 #define V8_LOG_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 const char* event); 284 const char* event);
285 void HeapSampleJSProducerEvent(const char* constructor, 285 void HeapSampleJSProducerEvent(const char* constructor,
286 Address* stack); 286 Address* stack);
287 void HeapSampleStats(const char* space, const char* kind, 287 void HeapSampleStats(const char* space, const char* kind,
288 intptr_t capacity, intptr_t used); 288 intptr_t capacity, intptr_t used);
289 289
290 void SharedLibraryEvent(const std::string& library_path, 290 void SharedLibraryEvent(const std::string& library_path,
291 uintptr_t start, 291 uintptr_t start,
292 uintptr_t end); 292 uintptr_t end);
293 293
294 void CodeDeoptEvent(Code* code, int bailout_id, Address from, 294 void CodeDeoptEvent(Code* code, Address pc, int fp_to_sp_delta);
295 int fp_to_sp_delta);
296 void CurrentTimeEvent(); 295 void CurrentTimeEvent();
297 296
298 void TimerEvent(StartEnd se, const char* name); 297 void TimerEvent(StartEnd se, const char* name);
299 298
300 static void EnterExternal(Isolate* isolate); 299 static void EnterExternal(Isolate* isolate);
301 static void LeaveExternal(Isolate* isolate); 300 static void LeaveExternal(Isolate* isolate);
302 301
303 static void DefaultEventLoggerSentinel(const char* name, int event) {} 302 static void DefaultEventLoggerSentinel(const char* name, int event) {}
304 303
305 INLINE(static void CallEventLogger(Isolate* isolate, const char* name, 304 INLINE(static void CallEventLogger(Isolate* isolate, const char* name,
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 int length) = 0; 533 int length) = 0;
535 534
536 NameBuffer* name_buffer_; 535 NameBuffer* name_buffer_;
537 }; 536 };
538 537
539 538
540 } } // namespace v8::internal 539 } } // namespace v8::internal
541 540
542 541
543 #endif // V8_LOG_H_ 542 #endif // V8_LOG_H_
OLDNEW
« no previous file with comments | « src/deoptimizer.cc ('k') | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698