|
Algernon Software | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.algernon.aam.Profiler
Profiler provides methods for tracing execution in the AAM.
Processor| Field Summary | |
protected boolean |
m_enabled
|
protected Processor |
m_processor
|
| Constructor Summary | |
Profiler(Processor processor)
Creates a new Profiler object. |
|
| Method Summary | |
boolean |
isEnabled()
Returns the value of Enabled. |
void |
printStatistics()
Prints or logs all current statistics. |
void |
profile(String name)
|
void |
reset()
Erases all statistics and turns off the profiler. |
void |
setEnabled(boolean newEnabled)
Sets the value of Enabled. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected boolean m_enabled
protected Processor m_processor
| Constructor Detail |
public Profiler(Processor processor)
| Method Detail |
public void profile(String name)
public void reset()
public void printStatistics()
public boolean isEnabled()
public void setEnabled(boolean newEnabled)
|
Algernon Software | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||