|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.quercus.profile.ProfileReport
public class ProfileReport
Report of profile entries
Constructor Summary | |
---|---|
ProfileReport(long id,
java.lang.String url,
long timestamp)
|
Method Summary | |
---|---|
void |
addItem(java.lang.String name,
java.lang.String parent,
long count,
long micros)
Adds a profile item. |
ProfileMethod |
findMethodByIndex(int id)
Returns the method by its id. |
ProfileMethod |
findMethodByName(java.lang.String name)
Returns the method by its name. |
long |
getId()
Returns the report id |
java.util.ArrayList<ProfileItem> |
getItemList()
Returns the list of profile items. |
protected ProfileMethod |
getMethod(java.lang.String name)
Returns the ProfileMethod for the given method name |
java.util.ArrayList<ProfileMethod> |
getMethods()
Returns the list of methods, sorted by self. |
java.util.ArrayList<ProfileMethod> |
getMethodsBySelfMicros()
Returns the list of methods, sorted by self. |
long |
getTimestamp()
Returns the time |
long |
getTotalMicros()
Returns the total time in microseconds |
java.lang.String |
getUrl()
Returns the url |
void |
printHierarchyReport(java.io.OutputStream os)
Printable hierarchy report |
void |
printHotSpotReport(java.io.OutputStream os)
Printable flat report |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProfileReport(long id, java.lang.String url, long timestamp)
Method Detail |
---|
public long getId()
public java.lang.String getUrl()
public long getTimestamp()
public long getTotalMicros()
public java.util.ArrayList<ProfileItem> getItemList()
public java.util.ArrayList<ProfileMethod> getMethods()
public java.util.ArrayList<ProfileMethod> getMethodsBySelfMicros()
public void addItem(java.lang.String name, java.lang.String parent, long count, long micros)
public ProfileMethod findMethodByIndex(int id)
public ProfileMethod findMethodByName(java.lang.String name)
protected ProfileMethod getMethod(java.lang.String name)
public void printHotSpotReport(java.io.OutputStream os) throws java.io.IOException
java.io.IOException
public void printHierarchyReport(java.io.OutputStream os) throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |