V8 Project
|
#include <v8-testing.h>
Public Types | |
enum | StressType { kStressTypeOpt , kStressTypeDeopt } |
Static Public Member Functions | |
static void | SetStressRunType (StressType type) |
Set the type of stressing to do. More... | |
static int | GetStressRuns () |
Get the number of runs of a given test that is required to get the full stress coverage. More... | |
static void | PrepareStressRun (int run) |
Indicate the number of the run which is about to start. More... | |
static void | DeoptimizeAll () |
Force deoptimization of all functions. More... | |
Definition at line 15 of file v8-testing.h.
|
static |
Force deoptimization of all functions.
Definition at line 7514 of file api.cc.
References v8::internal::Deoptimizer::DeoptimizeAll().
Referenced by v8::Shell::Main().
|
static |
Get the number of runs of a given test that is required to get the full stress coverage.
Definition at line 7461 of file api.cc.
Referenced by v8::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 7478 of file api.cc.
References kStressTypeDeopt, v8::SetFlagsFromString(), and v8::internal::Testing::stress_type().
Referenced by v8::Shell::Main().
|
static |
Set the type of stressing to do.
The default if not set is kStressTypeOpt.
Definition at line 7456 of file api.cc.
References v8::internal::Testing::set_stress_type().
Referenced by v8::Shell::Main().