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

Side by Side Diff: src/log.h

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

Powered by Google App Engine
This is Rietveld 408576698