![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <v8-profiler.h>
Public Member Functions | |
| CodeEventHandler (Isolate *isolate) | |
| virtual | ~CodeEventHandler () |
| virtual void | Handle (CodeEvent *code_event)=0 |
| void | Enable () |
| void | Disable () |
Private Member Functions | |
| CodeEventHandler () | |
| CodeEventHandler (const CodeEventHandler &) | |
| CodeEventHandler & | operator= (const CodeEventHandler &) |
Private Attributes | |
| void * | internal_listener_ |
Interface to listen to code creation and code relocation events.
Definition at line 1309 of file v8-profiler.h.
|
explicit |
|
private |
|
private |
| void v8::CodeEventHandler::Disable | ( | ) |
| void v8::CodeEventHandler::Enable | ( | ) |
|
pure virtual |
Handle is called every time a code object is created or moved. Information about each code event will be available through the code_event parameter.
When the CodeEventType is kRelocationType, the code for this CodeEvent has moved from GetPreviousCodeStartAddress() to GetCodeStartAddress().
|
private |
|
private |
Definition at line 1345 of file v8-profiler.h.