public class TraceProfileSegment extends ProfileSegment
children, method| Modifier and Type | Method and Description |
|---|---|
protected TraceProfileSegment |
createProfileSegment(ProfiledMethod method) |
int |
getCallCount(ProfiledMethod method) |
int |
getCallSiteCount()
Get the number of profile segments from this segment down
|
protected int |
getRunnableCallCount()
Returns the number of times this segment has appeared in the profile thread samples.
|
void |
incrementCallCount(boolean runnable) |
static TraceProfileSegment |
newProfileSegment(ProfiledMethod method)
Create a new ProfileSegment from a
ProfiledMethod |
java.lang.String |
toString() |
void |
update(Tracer tracer) |
void |
writeJSONString(java.io.Writer out) |
addChild, getChildren, getMethod, getMethods, removeChildpublic static TraceProfileSegment newProfileSegment(ProfiledMethod method)
ProfiledMethodmethod - the execution pointprotected TraceProfileSegment createProfileSegment(ProfiledMethod method)
createProfileSegment in class ProfileSegmentpublic void writeJSONString(java.io.Writer out)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Objectprotected int getRunnableCallCount()
getRunnableCallCount in class ProfileSegmentpublic void incrementCallCount(boolean runnable)
incrementCallCount in class ProfileSegmentpublic int getCallSiteCount()
getCallSiteCount in class ProfileSegmentpublic int getCallCount(ProfiledMethod method)
getCallCount in class ProfileSegmentpublic void update(Tracer tracer)