com.ebasetech.ufs.utility
Class ProfileTimer

java.lang.Object
  extended bycom.ebasetech.ufs.utility.ProfileTimer

public class ProfileTimer
extends java.lang.Object

Created by IntelliJ IDEA. User: Netta Date: 13-Jul-2004 Time: 16:47:07 To change this _template use Options | File Templates.


Field Summary
private static boolean _profilingOn
           
static java.util.HashMap _timers
           
private static int indentDepth
           
 
Constructor Summary
ProfileTimer()
           
 
Method Summary
private static java.lang.String indent()
           
static void printStart(java.lang.String timerName, java.lang.String message)
           
static void printStop(java.lang.String timerName, java.lang.String message)
           
static void printStopStart(java.lang.String timerName, java.lang.String message)
           
static void setProfilingOn(boolean profilingOn)
           
private static void start(java.lang.String timerName)
           
private static long stop(java.lang.String timerName)
           
private static long stopStart(java.lang.String timerName)
           
static void throwStackDump()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_timers

public static java.util.HashMap _timers

_profilingOn

private static boolean _profilingOn

indentDepth

private static int indentDepth
Constructor Detail

ProfileTimer

public ProfileTimer()
Method Detail

setProfilingOn

public static void setProfilingOn(boolean profilingOn)

start

private static void start(java.lang.String timerName)

printStart

public static void printStart(java.lang.String timerName,
                              java.lang.String message)

stop

private static long stop(java.lang.String timerName)

stopStart

private static long stopStart(java.lang.String timerName)

printStop

public static void printStop(java.lang.String timerName,
                             java.lang.String message)

indent

private static java.lang.String indent()

printStopStart

public static void printStopStart(java.lang.String timerName,
                                  java.lang.String message)

throwStackDump

public static void throwStackDump()