| Package | Description |
|---|---|
| org.openjdk.jmh.infra | |
| org.openjdk.jmh.runner | |
| org.openjdk.jmh.runner.options | |
| org.openjdk.jmh.util.lines |
| 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) |
|
IterationParams(IterationType type,
int count,
TimeValue time,
int batchSize) |
| Modifier and Type | Field | Description |
|---|---|---|
static TimeValue |
Defaults.MEASUREMENT_TIME |
The duration of measurement iterations.
|
static TimeValue |
Defaults.TIMEOUT |
Default timeout.
|
static TimeValue |
Defaults.WARMUP_TIME |
The duration of warmup iterations.
|
| Modifier and Type | Method | Description |
|---|---|---|
Optional<TimeValue> |
BenchmarkListEntry.getMeasurementTime() |
|
Optional<TimeValue> |
BenchmarkListEntry.getTimeout() |
|
Optional<TimeValue> |
BenchmarkListEntry.getWarmupTime() |
| Modifier and Type | Field | Description |
|---|---|---|
static TimeValue |
TimeValue.NONE |
| Modifier and Type | Method | Description |
|---|---|---|
static TimeValue |
TimeValue.days(long v) |
|
static TimeValue |
TimeValue.fromString(String timeString) |
|
static TimeValue |
TimeValue.hours(long v) |
|
static TimeValue |
TimeValue.microseconds(long v) |
|
static TimeValue |
TimeValue.milliseconds(long v) |
|
static TimeValue |
TimeValue.minutes(long v) |
|
static TimeValue |
TimeValue.nanoseconds(long v) |
|
static TimeValue |
TimeValue.seconds(long v) |
|
static TimeValue |
TimeValue.valueOf(String timeString) |
Parses time value from a string representation.
|
| Modifier and Type | Method | Description |
|---|---|---|
Optional<TimeValue> |
CommandLineOptions.getMeasurementTime() |
|
Optional<TimeValue> |
Options.getMeasurementTime() |
The duration for measurement iterations
|
Optional<TimeValue> |
OptionsBuilder.getMeasurementTime() |
|
Optional<TimeValue> |
CommandLineOptions.getTimeout() |
|
Optional<TimeValue> |
Options.getTimeout() |
Timeout: how long to wait for an iteration to complete.
|
Optional<TimeValue> |
OptionsBuilder.getTimeout() |
|
Optional<TimeValue> |
CommandLineOptions.getWarmupTime() |
|
Optional<TimeValue> |
Options.getWarmupTime() |
The duration for warmup iterations
|
Optional<TimeValue> |
OptionsBuilder.getWarmupTime() |
| Modifier and Type | Method | Description |
|---|---|---|
ChainedOptionsBuilder |
ChainedOptionsBuilder.measurementTime(TimeValue value) |
How long each measurement iteration should take?
|
ChainedOptionsBuilder |
OptionsBuilder.measurementTime(TimeValue value) |
|
ChainedOptionsBuilder |
ChainedOptionsBuilder.timeout(TimeValue value) |
How long to wait for iteration execution?
|
ChainedOptionsBuilder |
OptionsBuilder.timeout(TimeValue value) |
|
ChainedOptionsBuilder |
ChainedOptionsBuilder.warmupTime(TimeValue value) |
How long each warmup iteration should take?
|
ChainedOptionsBuilder |
OptionsBuilder.warmupTime(TimeValue value) |
| Modifier and Type | Method | Description |
|---|---|---|
Optional<TimeValue> |
TestLineReader.nextOptionalTimeValue() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
TestLineWriter.putOptionalTimeValue(Optional<TimeValue> opt) |
Copyright © 2012-2017 Oracle. All Rights Reserved.