|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.h2.util.Profiler
public class Profiler
A simple CPU profiling tool similar to java -Xrunhprof.
Field Summary | |
---|---|
int |
depth
|
int |
interval
|
Constructor Summary | |
---|---|
Profiler()
|
Method Summary | |
---|---|
java.lang.String |
getTop(int count)
Get the top stack traces. |
void |
run()
|
void |
startCollecting()
Start collecting profiling data. |
void |
stopCollecting()
Stop collecting. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int interval
public int depth
Constructor Detail |
---|
public Profiler()
Method Detail |
---|
public void startCollecting()
public void stopCollecting()
public void run()
run
in interface java.lang.Runnable
public java.lang.String getTop(int count)
count
- the maximum number of stack traces
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |