|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.placidus.performance.PerformanceStopWatch
public class PerformanceStopWatch
To do performance-tests. It holds times for keys(codeline marks) and prints a summary at getString. It can also handle multithreads.
| Constructor Summary | |
|---|---|
PerformanceStopWatch()
|
|
| Method Summary | |
|---|---|
static void |
clickStopWatch(java.lang.String id)
To add new timemark to object in member map for given id |
static java.lang.String |
getString()
to get a string representation of all containing objects |
static void |
init()
Initializes the map |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PerformanceStopWatch()
| Method Detail |
|---|
public static void init()
public static void clickStopWatch(java.lang.String id)
id - to click start to stopwatch (add average time)public static java.lang.String getString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||