v8
7.4.288(node12.0.0)
V8 is Google's open source JavaScript engine
|
#include <v8-profiler.h>
Public Member Functions | |
CodeEventHandler (Isolate *isolate) | |
virtual | ~CodeEventHandler () |
virtual void | Handle (CodeEvent *code_event)=0 |
void | Enable () |
void | Disable () |
Interface to listen to code creation events.
Definition at line 985 of file v8-profiler.h.
|
explicit |
Creates a new listener for the |isolate|. The isolate must be initialized. The listener object must be disposed after use by calling |Dispose| method. Multiple listeners can be created for the same isolate.
|
virtual |
void Disable | ( | ) |
void Enable | ( | ) |