public final class IterationParams extends Object
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 in
BenchmarkParams
.
This class is dual-purpose:
Modifier and Type | Field and Description |
---|---|
protected int |
batchSize
batch size (method invocations inside the single op)
|
protected int |
count
amount of iterations
|
protected TimeValue |
timeValue
iteration runtime
|
protected IterationType |
type
iteration type
|
Constructor and Description |
---|
IterationParams(IterationType type,
int count,
TimeValue time,
int batchSize) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getBatchSize()
Batch size for iteration.
|
int |
getCount()
Number of iterations.
|
TimeValue |
getTime()
Time for iteration.
|
IterationType |
getType()
Iteration type: separates warmup iterations vs.
|
int |
hashCode() |
String |
toString() |
protected final IterationType type
protected final int count
protected final TimeValue timeValue
protected final int batchSize
public IterationParams(IterationType type, int count, TimeValue time, int batchSize)
public IterationType getType()
public int getCount()
public TimeValue getTime()
public int getBatchSize()
Copyright © 2012–2020 Oracle. All rights reserved.