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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 int number, int bytes); | 265 int number, int bytes); |
266 void HeapSampleJSRetainersEvent(const char* constructor, | 266 void HeapSampleJSRetainersEvent(const char* constructor, |
267 const char* event); | 267 const char* event); |
268 void HeapSampleJSProducerEvent(const char* constructor, | 268 void HeapSampleJSProducerEvent(const char* constructor, |
269 Address* stack); | 269 Address* stack); |
270 void HeapSampleStats(const char* space, const char* kind, | 270 void HeapSampleStats(const char* space, const char* kind, |
271 intptr_t capacity, intptr_t used); | 271 intptr_t capacity, intptr_t used); |
272 | 272 |
273 void SharedLibraryEvent(const std::string& library_path, | 273 void SharedLibraryEvent(const std::string& library_path, |
274 uintptr_t start, | 274 uintptr_t start, |
275 uintptr_t end); | 275 uintptr_t end, |
| 276 uintptr_t slide); |
276 | 277 |
277 void CodeDeoptEvent(Code* code, Address pc, int fp_to_sp_delta); | 278 void CodeDeoptEvent(Code* code, Address pc, int fp_to_sp_delta); |
278 void CurrentTimeEvent(); | 279 void CurrentTimeEvent(); |
279 | 280 |
280 void TimerEvent(StartEnd se, const char* name); | 281 void TimerEvent(StartEnd se, const char* name); |
281 | 282 |
282 static void EnterExternal(Isolate* isolate); | 283 static void EnterExternal(Isolate* isolate); |
283 static void LeaveExternal(Isolate* isolate); | 284 static void LeaveExternal(Isolate* isolate); |
284 | 285 |
285 static void DefaultEventLoggerSentinel(const char* name, int event) {} | 286 static void DefaultEventLoggerSentinel(const char* name, int event) {} |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
520 | 521 |
521 NameBuffer* name_buffer_; | 522 NameBuffer* name_buffer_; |
522 }; | 523 }; |
523 | 524 |
524 | 525 |
525 } // namespace internal | 526 } // namespace internal |
526 } // namespace v8 | 527 } // namespace v8 |
527 | 528 |
528 | 529 |
529 #endif // V8_LOG_H_ | 530 #endif // V8_LOG_H_ |
OLD | NEW |