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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CallGraph
public CallGraph(ProfileCategory root)
- Construct a CallGraph representing the nodes in the supplied root
toString
public java.lang.String toString()
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)