Class IterationParamsL2
java.lang.Object
org.openjdk.jmh.infra.IterationParamsL0
org.openjdk.jmh.infra.IterationParamsL1
org.openjdk.jmh.infra.IterationParamsL2
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
IterationParamsL3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final intbatch size (method invocations inside the single op)protected final intamount of iterationsprivate static final longprotected final TimeValueiteration runtimeprotected final IterationTypeiteration type -
Constructor Summary
ConstructorsConstructorDescriptionIterationParamsL2(IterationType type, int count, TimeValue time, int batchSize) -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
type
iteration type -
count
protected final int countamount of iterations -
timeValue
iteration runtime -
batchSize
protected final int batchSizebatch size (method invocations inside the single op)
-
-
Constructor Details
-
IterationParamsL2
-
-
Method Details
-
getType
Iteration type: separates warmup iterations vs. measurement iterations.- Returns:
- iteration type.
-
getCount
public int getCount()Number of iterations.- Returns:
- number of iterations of given type.
-
getTime
-
getBatchSize
public int getBatchSize()Batch size for iteration.- Returns:
- batch size
-
equals
-
hashCode
-
toString
-