public class ProfileTree extends BaseTree<SimpleProfileSegment>
| Constructor and Description |
|---|
ProfileTree(IProfile profile,
boolean reportCpuTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
addStackTrace(java.util.List<java.lang.StackTraceElement> stackTraceList,
boolean runnable) |
protected SimpleProfileSegment |
createProfiledMethod(ProfiledMethod method) |
long |
getCpuTime() |
protected java.util.Map<java.lang.String,java.lang.Object> |
getExtraData() |
void |
incrementCpuTime(long cpuTime) |
add, getCallSiteCount, getMethodCount, getRootCount, getRootSegments, getSegment, writeJSONStringpublic ProfileTree(IProfile profile, boolean reportCpuTime)
public void addStackTrace(java.util.List<java.lang.StackTraceElement> stackTraceList,
boolean runnable)
protected java.util.Map<java.lang.String,java.lang.Object> getExtraData()
getExtraData in class BaseTree<SimpleProfileSegment>public void incrementCpuTime(long cpuTime)
public long getCpuTime()
protected SimpleProfileSegment createProfiledMethod(ProfiledMethod method)
createProfiledMethod in class BaseTree<SimpleProfileSegment>