v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <v8-testing.h>
Public Types | |
enum | StressType { kStressTypeOpt, kStressTypeDeopt } |
Static Public Member Functions | |
static void | SetStressRunType (StressType type) |
static int | GetStressRuns () |
static void | PrepareStressRun (int run) |
static void | DeoptimizeAll () |
Definition at line 38 of file v8-testing.h.
enum StressType |
Enumerator | |
---|---|
kStressTypeOpt | |
kStressTypeDeopt |
Definition at line 40 of file v8-testing.h.
|
static |
Force deoptimization of all functions.
Definition at line 7477 of file api.cc.
References Deoptimizer::DeoptimizeAll().
Referenced by Shell::Main().
|
static |
Get the number of runs of a given test that is required to get the full stress coverage.
Definition at line 7424 of file api.cc.
Referenced by Shell::Main().
|
static |
Indicate the number of the run which is about to start. The value of run should be between 0 and one less than the result from GetStressRuns()
Definition at line 7441 of file api.cc.
References Testing::kStressTypeDeopt, and Testing::stress_type().
Referenced by Shell::Main().
|
static |
Set the type of stressing to do. The default if not set is kStressTypeOpt.
Definition at line 7419 of file api.cc.
References Testing::set_stress_type().
Referenced by Shell::Main().