Package org.openjdk.jmh.infra
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 int
batch size (method invocations inside the single op)protected final int
amount of iterationsprivate static final long
protected final TimeValue
iteration runtimeprotected final IterationType
iteration 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
Time for iteration.- Returns:
- time
-
getBatchSize
public int getBatchSize()Batch size for iteration.- Returns:
- batch size
-
equals
-
hashCode
public int hashCode() -
toString
-