| Package | Description |
|---|---|
| org.openjdk.jmh.annotations | |
| org.openjdk.jmh.infra | |
| org.openjdk.jmh.runner | |
| org.openjdk.jmh.runner.options |
| Modifier and Type | Method | Description |
|---|---|---|
static Mode |
Mode.deepValueOf(String name) |
|
static Mode |
Mode.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Mode[] |
Mode.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor | Description |
|---|---|
BenchmarkParams(String benchmark,
String generatedTarget,
boolean synchIterations,
int threads,
int[] threadGroups,
Collection<String> threadGroupLabels,
int forks,
int warmupForks,
IterationParams warmup,
IterationParams measurement,
Mode mode,
WorkloadParams params,
TimeUnit timeUnit,
int opsPerInvocation,
String jvm,
Collection<String> jvmArgs,
TimeValue timeout) |
| Modifier and Type | Field | Description |
|---|---|---|
static Mode |
Defaults.BENCHMARK_MODE |
Default running mode.
|
| Modifier and Type | Method | Description |
|---|---|---|
Mode |
BenchmarkListEntry.getMode() |
| Modifier and Type | Method | Description |
|---|---|---|
BenchmarkListEntry |
BenchmarkListEntry.cloneWith(Mode mode) |
| Constructor | Description |
|---|---|
BenchmarkListEntry(String userClassQName,
String generatedClassQName,
String method,
Mode mode,
Optional<Integer> threads,
int[] threadGroups,
Optional<Collection<String>> threadGroupLabels,
Optional<Integer> warmupIterations,
Optional<TimeValue> warmupTime,
Optional<Integer> warmupBatchSize,
Optional<Integer> measurementIterations,
Optional<TimeValue> measurementTime,
Optional<Integer> measurementBatchSize,
Optional<Integer> forks,
Optional<Integer> warmupForks,
Optional<String> jvm,
Optional<Collection<String>> jvmArgs,
Optional<Collection<String>> jvmArgsPrepend,
Optional<Collection<String>> jvmArgsAppend,
Optional<Map<String,String[]>> params,
Optional<TimeUnit> tu,
Optional<Integer> opsPerInv,
Optional<TimeValue> timeout) |
| Modifier and Type | Method | Description |
|---|---|---|
Collection<Mode> |
CommandLineOptions.getBenchModes() |
|
Collection<Mode> |
Options.getBenchModes() |
Benchmarks modes to execute.
|
Collection<Mode> |
OptionsBuilder.getBenchModes() |
| Modifier and Type | Method | Description |
|---|---|---|
ChainedOptionsBuilder |
ChainedOptionsBuilder.mode(Mode mode) |
Benchmark mode.
|
ChainedOptionsBuilder |
OptionsBuilder.mode(Mode mode) |
Copyright © 2012-2017 Oracle. All Rights Reserved.