|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.jimr.gae.profiler.MiniProfiler.Profile
protected static class MiniProfiler.Profile
Contains information about a profiling step
| Constructor Summary | |
|---|---|
MiniProfiler.Profile(int id,
String name)
|
|
| Method Summary | |
|---|---|
void |
addChild(MiniProfiler.Profile child)
Add a child step to this step. |
List<MiniProfiler.Profile> |
getChildren()
Get the child steps of this step. |
int |
getDepth()
Get the depth of the step in the profiling tree. |
long |
getDuration()
Get how long the step tool (nanoseconds). |
long |
getId()
The id of the step. |
String |
getName()
Get the name of the step. |
long |
getOffset()
Get the step's offset from the start of profling (nanoseconds). |
long |
getSelf()
Calculate the duration of this step, minus the duration of all the child steps. |
long |
getStart()
Get when the step started (nanoseconds). |
void |
setDepth(int depth)
Set the depth of the step in the profiling tree. |
void |
setDuration(long duration)
Set how long the step took (nanoseconds). |
void |
setOffset(long offset)
Set the step's offset from the start of profiling (nanoseconds). |
void |
setStart(long start)
Set when the step started (nanoseconds). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MiniProfiler.Profile(int id,
String name)
| Method Detail |
|---|
public long getId()
public int getDepth()
public void setDepth(int depth)
depth - The depth.public String getName()
public long getStart()
public void setStart(long start)
start - When the step started.public void setDuration(long duration)
duration - The duration.public long getDuration()
public void setOffset(long offset)
offset - The offset.public long getOffset()
public long getSelf()
In effect, returns the time spent only in this step.
public List<MiniProfiler.Profile> getChildren()
public void addChild(MiniProfiler.Profile child)
child - The child to add.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||