Package org.openjdk.jmh.infra
Class IterationParams
- java.lang.Object
-
- All Implemented Interfaces:
java.io.Serializable
public final class IterationParams extends IterationParamsL4
Iteration parameters.Iteration parameters are separated in at least two instances, with different
IterationType
-s. The complete benchmark parameters not specific for a particular iteration are available inBenchmarkParams
.This class is dual-purpose:
- It acts as the interface between host JVM and forked JVM, so that the latter would not have to figure out the benchmark configuration again
- It can be injected into benchmark methods to access the runtime configuration info about the benchmark
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Fields inherited from class org.openjdk.jmh.infra.IterationParamsL2
batchSize, count, timeValue, type
-
-
Constructor Summary
Constructors Constructor Description IterationParams(IterationType type, int count, TimeValue time, int batchSize)
-
Method Summary
-
Methods inherited from class org.openjdk.jmh.infra.IterationParamsL2
equals, getBatchSize, getCount, getTime, getType, hashCode, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IterationParams
public IterationParams(IterationType type, int count, TimeValue time, int batchSize)
-
-