V8 API Reference Guide generated from the header files
|
#include <v8-profiler.h>
Public Member Functions | |
CodeEventHandler (Isolate *isolate) | |
virtual void | Handle (CodeEvent *code_event)=0 |
void | Enable () |
void | Disable () |
Interface to listen to code creation events.
|
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.