|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.vattp.security.MicroTime
Untamed: Wraps the microsecond timer aspect of Native, but works in a degenerate fashion, using pure Java's System.currentTimeMillis()*1000, if native code is unavailable.
Field Summary | |
private static Object |
nativeStatics
|
Constructor Summary | |
MicroTime()
Enabled: |
Method Summary | |
static void |
initializeTimer()
Enabled: Initialize the high-res timer. |
static boolean |
isHiRes()
Enabled: Find whether we have a high-res timer. |
static long |
queryTimer()
Enabled: Get the current value of the high-res timer in microseconds. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static Object nativeStatics
Constructor Detail |
public MicroTime()
Method Detail |
public static void initializeTimer()
public static boolean isHiRes()
public static long queryTimer()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |