public class RuntimeMetrics extends Object implements Serializable, PairwiseAggregator.Aggregable<RuntimeMetrics>
Modifier and Type | Field and Description |
---|---|
static int |
C_ERRORS
Index for current error rate label.
|
static int |
C_RESP
Index for current response time label.
|
static int |
C_RESP90
Index for current 90th% response time label.
|
static int |
C_SD
Index for current standard deviation label.
|
static int |
C_THRUPUT
Index for current thruput label.
|
protected long |
coarseRespBucketSize
Size of the coarse response time buckets.
|
protected long |
coarseRespHistMax
Max coarse response time.
|
protected int[] |
errCntStdy
Number of failed transactions during steady state.
|
protected int[] |
errCntTotal
Number of failed transactions total.
|
protected long |
fineRespBucketSize
Size of the fine response time buckets.
|
protected long |
fineRespHistMax
Max fine response time.
|
protected double[] |
hiRespSumStdy
Sum of the overflow response time.
|
static String[] |
LABELS
The output labels for the runtime metrics.
|
static int |
O_RESP
Index for overall response time label.
|
static int |
O_RESP90
Index for overall 90th% response time label.
|
static int |
O_SD
Index for overall standard deviation label.
|
static int |
O_THRUPUT
Index for overall thruput label.
|
protected int[][] |
respHist
Response time histogram.
|
protected double[] |
respSumStdy
Sum of response times during steady state.
|
protected double[] |
respSumTotal
Sum of response times total.
|
protected double[] |
sumSquaresStdy
The sum squares of the deviations in steady state.
|
protected double[] |
sumSquaresTotal
The sum squares of the deviations total.
|
protected int[] |
txCntStdy
Number of successful transactions during steady state.
|
protected int[] |
txCntTotal
Number of successful transactions total.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Metrics m)
Adds a metrics to this RuntimeMetrics.
|
void |
add(RuntimeMetrics m)
Adds a metrics to this RuntimeMetrics.
|
void |
copy(Metrics m)
Copies the necessary members of Metrics into this RuntimeMetrics.
|
double[][] |
getResults(RunInfo runInfo,
RuntimeMetrics prev)
Synthesizes and provides the results from this runtime stats.
|
String |
toString() |
public static final int C_THRUPUT
public static final int O_THRUPUT
public static final int C_ERRORS
public static final int C_RESP
public static final int O_RESP
public static final int C_SD
public static final int O_SD
public static final int C_RESP90
public static final int O_RESP90
public static final String[] LABELS
protected long fineRespBucketSize
protected long coarseRespBucketSize
protected long fineRespHistMax
protected long coarseRespHistMax
protected int[] txCntStdy
protected int[] txCntTotal
protected int[] errCntStdy
protected int[] errCntTotal
protected double[] respSumStdy
protected double[] respSumTotal
protected double[] hiRespSumStdy
protected double[] sumSquaresStdy
protected double[] sumSquaresTotal
protected int[][] respHist
public void copy(Metrics m)
m
- The metrics to copypublic void add(Metrics m)
m
- The metrics to addpublic void add(RuntimeMetrics m)
add
in interface PairwiseAggregator.Aggregable<RuntimeMetrics>
m
- The metrics to addpublic double[][] getResults(RunInfo runInfo, RuntimeMetrics prev)
runInfo
- The RunInfo for this benchmark runprev
- The previous RuntimeMetrics