tuffy.util
Class DebugMan

java.lang.Object
  extended by 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
           
 
Constructor Summary
DebugMan()
           
 
Method Summary
private static void _runGC()
           
static void checkBaseMem()
           
static void checkPeakMem()
           
static long getBaseMem()
           
static java.lang.String getLog()
           
static long getPeakMem()
           
static void log(java.lang.String s)
           
static void pause()
           
static void runGC()
           
static boolean runningInWindows()
           
static long usedMemory()
           
private static long usedMemoryp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

DebugMan

public DebugMan()
Method Detail

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()