|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.faban.driver.engine.RuntimeMetrics
public class RuntimeMetrics
The runtime metrics is used for communicating runtime stats from the agents to the master.
| Field Summary | |
|---|---|
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. |
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
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
| Method Detail |
|---|
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 String toString()
toString in class Object
public double[][] getResults(RunInfo runInfo,
RuntimeMetrics prev)
runInfo - The RunInfo for this benchmark runprev - The previous RuntimeMetrics
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||