|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jurismarches.vradi.aspect.VradiTrace
public class VradiTrace
Trace.
| Field Summary | |
|---|---|
protected Stack<long[]> |
callStack
array : [nest e call, start time, start time with child] |
protected String |
name
|
static int |
STAT_CALL
nombre d'appel Cache inclus |
static int |
STAT_CALL_NEST_METHOD
nombre d'appel vers une autre e depuis cette methode |
static int |
STAT_COMPUTATION
nombre d'appel reel qui a fait le calcul |
static int |
STAT_TIME_MAX
temps max d'execution de cette methode (sans le temps des autres methodes) |
static int |
STAT_TIME_MIN
temps mini d'execution de cette methode (sans le temps des autres methodes) |
static int |
STAT_TIME_TOTAL
temps total d'execution de cette methode (sans le temps des autres methodes) |
static int |
STAT_TIME_TOTAL_NEST_METHOD
temps total d'execution de cette methode (avec le temps des autres methodes) |
protected Map<String,long[]> |
statistics
array : [call's numbers, call do, min time, max time, total time, total time with child] |
| Constructor Summary | |
|---|---|
VradiTrace(String name)
|
|
| Method Summary | |
|---|---|
long[] |
getStatistics(Object e)
|
String |
printStatisticAndClear()
|
protected void |
traceAfter(Object e,
boolean computation)
|
void |
traceAfterCall(Object e)
|
void |
traceAfterComputation(Object e)
|
void |
traceBefore()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int STAT_CALL
public static final int STAT_COMPUTATION
public static final int STAT_CALL_NEST_METHOD
public static final int STAT_TIME_MIN
public static final int STAT_TIME_MAX
public static final int STAT_TIME_TOTAL
public static final int STAT_TIME_TOTAL_NEST_METHOD
protected String name
protected Map<String,long[]> statistics
protected Stack<long[]> callStack
| Constructor Detail |
|---|
public VradiTrace(String name)
| Method Detail |
|---|
public long[] getStatistics(Object e)
public void traceBefore()
public void traceAfterCall(Object e)
public void traceAfterComputation(Object e)
protected void traceAfter(Object e,
boolean computation)
public String printStatisticAndClear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||