tuffy.util
Class DebugMan
java.lang.Object
tuffy.util.DebugMan
public class DebugMan
- extends java.lang.Object
Container of methods for debugging purposes.
Field Summary |
private static long |
baseMem
|
private static java.lang.StringBuilder |
log
|
private static long |
peakMem
|
private static java.lang.Runtime |
s_runtime
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static java.lang.StringBuilder log
s_runtime
private static final java.lang.Runtime s_runtime
baseMem
private static long baseMem
peakMem
private static long peakMem
DebugMan
public DebugMan()
log
public static void log(java.lang.String s)
getLog
public static java.lang.String getLog()
pause
public static void pause()
runningInWindows
public static boolean runningInWindows()
runGC
public static void runGC()
throws java.lang.Exception
- Throws:
java.lang.Exception
_runGC
private static void _runGC()
throws java.lang.Exception
- Throws:
java.lang.Exception
usedMemoryp
private static long usedMemoryp()
usedMemory
public static long usedMemory()
checkBaseMem
public static void checkBaseMem()
getBaseMem
public static long getBaseMem()
checkPeakMem
public static void checkPeakMem()
getPeakMem
public static long getPeakMem()