v8
7.0.276 (node 11.14.0)
V8 is Google's open source JavaScript engine
|
#include <v8-profiler.h>
Public Types | |
enum | ControlOption { kContinue = 0 , kAbort = 1 } |
Public Member Functions | |
virtual | ~ActivityControl () |
virtual ControlOption | ReportProgressValue (int done, int total)=0 |
An interface for reporting progress and controlling long-running activities.
Definition at line 536 of file v8-profiler.h.
enum ControlOption |
Enumerator | |
---|---|
kContinue | |
kAbort |
Definition at line 538 of file v8-profiler.h.
|
inlinevirtual |
Definition at line 542 of file v8-profiler.h.
|
pure virtual |
Notify about current progress. The activity can be stopped by returning kAbort as the callback result.