|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.webmacro.profile.Profile
Field Summary | |
protected long |
timestamp
ProfileCategory uses this to manage us |
Constructor Summary | |
protected |
Profile(ProfileCategory owner)
only our ProfileCategory should create new instances |
Method Summary | |
void |
destroy()
Terminate profiling, releasing any resources allocated to this Profile and forwarding any collected statistics back to the ProfileSystem. |
java.util.Iterator |
getEvents()
Retrieve a list of the events in this profile. |
static void |
main(java.lang.String[] arg)
|
protected void |
reset()
This method resets the data structures for this Profile so it can be re-used. |
void |
startEvent(java.lang.String name)
Start timing an event called 'name'. |
void |
stopEvent()
Stop timing the last event started. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected long timestamp
Constructor Detail |
protected Profile(ProfileCategory owner)
Method Detail |
public java.util.Iterator getEvents() throws java.lang.IllegalStateException
java.lang.IllegalStateException
protected void reset()
public void startEvent(java.lang.String name)
public void stopEvent()
java.lang.IllegalStateException
- if stopEvent called too many timespublic void destroy()
public static void main(java.lang.String[] arg)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |