com.dynamide.util
Class Profiler

java.lang.Object
  extended by com.dynamide.util.Profiler

public class Profiler
extends java.lang.Object


Nested Class Summary
static class Profiler.MemoryInfo
           
static class Profiler.SectionInfo
           
 
Field Summary
static char ONE_INDENT
           
 
Method Summary
protected  java.lang.String _getOutputString()
           
 void add(java.lang.Object o, java.lang.String name)
           
 void clear()
           
 void clearMemoryMonitor()
           
static Profiler createProfiler()
          Factory method for a private profiler -- see also getSharedProfiler()
 void dump()
           
 void enter(java.lang.String enterSectionName)
           
 java.util.Vector getOutput()
           
 java.lang.String getOutputString()
           
static Profiler getSharedProfiler()
          Returns a VM-shared singleton Profiler
static Profiler getThreadSharedProfiler()
           
 void leave(java.lang.String leavingSectionName)
           
 void log(java.lang.String enterSectionName)
           
 void outputObjects()
           
static void releaseThreadSharedProfiler()
           
 void remove(java.lang.Object o)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ONE_INDENT

public static final char ONE_INDENT
See Also:
Constant Field Values
Method Detail

getSharedProfiler

public static Profiler getSharedProfiler()
Returns a VM-shared singleton Profiler


createProfiler

public static Profiler createProfiler()
Factory method for a private profiler -- see also getSharedProfiler()


getThreadSharedProfiler

public static Profiler getThreadSharedProfiler()

releaseThreadSharedProfiler

public static void releaseThreadSharedProfiler()

getOutput

public java.util.Vector getOutput()

dump

public void dump()

getOutputString

public java.lang.String getOutputString()

_getOutputString

protected java.lang.String _getOutputString()

start

public void start()

log

public void log(java.lang.String enterSectionName)

enter

public void enter(java.lang.String enterSectionName)

leave

public void leave(java.lang.String leavingSectionName)

add

public void add(java.lang.Object o,
                java.lang.String name)

remove

public void remove(java.lang.Object o)

clearMemoryMonitor

public void clearMemoryMonitor()

clear

public void clear()

outputObjects

public void outputObjects()


Copyright 2001-2013 DYNAMIDE.COM. All Rights Reserved.