org.webmacro.profile
Class CallGraph

java.lang.Object
  |
  +--org.webmacro.profile.CallGraph

public class CallGraph
extends java.lang.Object

A CallGraph is a view of the events in a ProfileCategory. It is a tree-like structure which you can browse to learn where the time is going in your application.


Constructor Summary
CallGraph(ProfileCategory root)
          Construct a CallGraph representing the nodes in the supplied root
 
Method Summary
 java.lang.String format()
           
 void format(java.lang.StringBuffer buf, int depth)
           
 int getCalls()
           
 CallGraph[] getChildren()
           
 java.lang.String getName()
           
 long getTime()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CallGraph

public CallGraph(ProfileCategory root)
Construct a CallGraph representing the nodes in the supplied root
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getName

public java.lang.String getName()

getChildren

public CallGraph[] getChildren()

getTime

public long getTime()

getCalls

public int getCalls()

format

public java.lang.String format()

format

public void format(java.lang.StringBuffer buf,
                   int depth)