|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--org.openorb.util.Profiler
Profiler utility.
| Constructor Summary | |
Profiler()
|
|
| Method Summary | |
static double[] |
means()
Calculate the average of the sample points taken so far. |
static int |
next()
Make another sample and return the current index. |
static void |
point()
Get another sample. |
static void |
reset(int points)
Reset the values of the profiler. |
static double[] |
stddev()
Calculate the standard derivation. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Profiler()
| Method Detail |
public static void reset(int points)
points - The number of profiling points to take.public static void point()
public static int next()
public static double[] means()
public static double[] stddev()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||