public class ProfileMethod
extends java.lang.Object
Constructor and Description |
---|
ProfileMethod(int id,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
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() |
public int getId()
public java.lang.String getName()
public long getCount()
public long getTotalMicros()
public long getSelfMicros()
public java.util.ArrayList<ProfileItem> getParentItems()
public java.util.ArrayList<ProfileItem> getParentItemsByMicros()
public java.util.ArrayList<ProfileItem> getChildItems()
public java.util.ArrayList<ProfileItem> getChildItemsByMicros()
public void addParent(ProfileItem item)
public void addChild(ProfileItem item)
public java.lang.String toString()
toString
in class java.lang.Object