com.caucho.quercus.profile
Class ProfileMethod

java.lang.Object
  extended by com.caucho.quercus.profile.ProfileMethod

public class ProfileMethod
extends java.lang.Object

Report for a method (function)


Constructor Summary
ProfileMethod(int id, java.lang.String name)
           
 
Method Summary
 void addChild(ProfileItem item)
          Adds a child item
 void addParent(ProfileItem item)
          Adds a parent item
 java.util.ArrayList<ProfileItem> getChildItems()
          Returns the child items.
 java.util.ArrayList<ProfileItem> getChildItemsByMicros()
          Returns the child items, sorted by micros.
 long getCount()
          Returns the function's call count
 int getId()
          Returns the method's id.
 java.lang.String getName()
          Returns the item's function name
 java.util.ArrayList<ProfileItem> getParentItems()
          Returns the parent items.
 java.util.ArrayList<ProfileItem> getParentItemsByMicros()
          Returns the parent items, sorted by micros.
 long getSelfMicros()
          Returns the function's self time in micros
 long getTotalMicros()
          Returns the function's total time in micros
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProfileMethod

public ProfileMethod(int id,
                     java.lang.String name)
Method Detail

getId

public int getId()
Returns the method's id.


getName

public java.lang.String getName()
Returns the item's function name


getCount

public long getCount()
Returns the function's call count


getTotalMicros

public long getTotalMicros()
Returns the function's total time in micros


getSelfMicros

public long getSelfMicros()
Returns the function's self time in micros


getParentItems

public java.util.ArrayList<ProfileItem> getParentItems()
Returns the parent items.


getParentItemsByMicros

public java.util.ArrayList<ProfileItem> getParentItemsByMicros()
Returns the parent items, sorted by micros.


getChildItems

public java.util.ArrayList<ProfileItem> getChildItems()
Returns the child items.


getChildItemsByMicros

public java.util.ArrayList<ProfileItem> getChildItemsByMicros()
Returns the child items, sorted by micros.


addParent

public void addParent(ProfileItem item)
Adds a parent item


addChild

public void addChild(ProfileItem item)
Adds a child item


toString

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