| 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_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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |