public class SimpleProfileSegment extends ProfileSegment
children, method| Modifier and Type | Method and Description |
|---|---|
protected SimpleProfileSegment |
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 SimpleProfileSegment |
newProfileSegment(ProfiledMethod method)
Create a new ProfileSegment from a
ProfiledMethod |
java.lang.String |
toString() |
void |
writeJSONString(java.io.Writer out) |
addChild, getChildren, getMethod, getMethods, removeChildpublic static SimpleProfileSegment newProfileSegment(ProfiledMethod method)
ProfiledMethodmethod - the execution pointprotected SimpleProfileSegment 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 ProfileSegment