|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.utils.TimeSamples
public class TimeSamples
INTERNAL: Store a set a time samples for easier calculation of minimum, maximum and average times.
Constructor Summary | |
---|---|
TimeSamples()
|
Method Summary | |
---|---|
void |
addTime(double timeInSecs)
INTERNAL: Add sample time to set. |
double |
getAverageTime()
INTERNAL: Get average sample time in seconds. |
double |
getMaximumTime()
INTERNAL: Get minimum sampled time in seconds. |
double |
getMinimumTime()
INTERNAL: Get maximum sampled time in seconds. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimeSamples()
Method Detail |
---|
public void addTime(double timeInSecs)
public double getAverageTime()
public double getMinimumTime()
public double getMaximumTime()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |