|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.tools.profiler.ProfilerManager
public class ProfilerManager
The main entry point for profiling. This class is used to obtain instances
of ProfilerPoint
, which are then used during execution of code to
demarcate the code to be profiled.
ProfilerManager
for the current ClassLoader
is obtained
with getLocal()
.
Method Summary | |
---|---|
ProfilerPoint |
addProfilerPoint(java.lang.String name)
|
void |
disable()
|
void |
enable()
|
ProfilerPoint |
getCategorizingProfilerPoint(java.lang.String name)
|
static ProfilerManager |
getLocal()
|
ProfilerPoint |
getProfilerPoint(java.lang.String name)
|
ProfilerPoint |
getRoot()
|
boolean |
isEnabled()
|
void |
reset()
Clear all profiling information. |
void |
setEnabled(boolean isEnabled)
Set to true to enable profiling, default false. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static ProfilerManager getLocal()
public ProfilerPoint getRoot()
public ProfilerPoint getProfilerPoint(java.lang.String name)
public void setEnabled(boolean isEnabled)
public boolean isEnabled()
public void enable()
public void disable()
public ProfilerPoint addProfilerPoint(java.lang.String name)
public ProfilerPoint getCategorizingProfilerPoint(java.lang.String name)
public void reset()
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 |