|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PerformanceCounterFormula
Counter value calculation formula interface.
| Field Summary | |
|---|---|
static PerformanceCounterFormula |
AVERAGE_FORMULA
Average count formula calculates how many items are processed, on average, during an operation. |
static PerformanceCounterFormula |
AVERAGE_TIMER_FORMULA
Average timer formulla calculates the time (in seconds) it takes, on average, to complete a process or operation. |
static PerformanceCounterFormula |
RATE_FORMULA
Rate formula calculates (Xn - X0)/(Tn - T0), where Xi is a counter sample and Ti is the time that the corresponding sample was taken. |
static PerformanceCounterFormula |
SIMPLE_COUNT_FORMULA
Simple items count formula returning the counter raw value. |
| Method Summary | |
|---|---|
double |
calculateValue(PerformanceSample sample1,
PerformanceSample sample2)
Calculates next counter value by two samples. |
| Field Detail |
|---|
static final PerformanceCounterFormula SIMPLE_COUNT_FORMULA
static final PerformanceCounterFormula AVERAGE_FORMULA
static final PerformanceCounterFormula RATE_FORMULA
static final PerformanceCounterFormula AVERAGE_TIMER_FORMULA
| Method Detail |
|---|
double calculateValue(PerformanceSample sample1,
PerformanceSample sample2)
sample1 - sample1sample2 - sample2
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||