| 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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |