|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfacets.util.Times
public final class Times
Simple timing for profiling and latency checks.
Field Summary | |
---|---|
static boolean |
nanoTime
|
static long |
resetWait
|
static boolean |
times
|
Constructor Summary | |
---|---|
Times()
|
Method Summary | |
---|---|
static long |
elapsed()
The time since the last auto-reset. |
static void |
printElapsed(java.lang.String msg)
elapsed() followed by the message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static boolean times
public static boolean nanoTime
public static long resetWait
Constructor Detail |
---|
public Times()
Method Detail |
---|
public static long elapsed()
Interval for reset set by resetWait
.
public static void printElapsed(java.lang.String msg)
elapsed()
followed by the message.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |