org.jboss.dashboard.profiler
Class TimeTrace
java.lang.Object
org.jboss.dashboard.profiler.StackTrace
org.jboss.dashboard.profiler.TimeTrace
public class TimeTrace
- extends StackTrace
A time trace is a way to group a sequence of stack traces in a hierarchical way.
| Methods inherited from class org.jboss.dashboard.profiler.StackTrace |
eq, equals, equals, first, from, get, getContext, getCreationTimeMillis, intersect, last, length, printStackElement, printStackTrace, reverseIndex, setContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parent
protected TimeTrace parent
stackTraces
protected List<StackTrace> stackTraces
children
protected List<TimeTrace> children
codeBlockTraces
protected CodeBlockTraces codeBlockTraces
level
protected int level
TimeTrace
public TimeTrace(StackTraceElement[] stackTrace,
List<StackTrace> samples,
List<TimeTrace> children,
CodeBlockTrace context)
getParent
public TimeTrace getParent()
setParent
public void setParent(TimeTrace parent)
getChildren
public List<TimeTrace> getChildren()
setChildren
public void setChildren(List<TimeTrace> children)
getLevel
public int getLevel()
setLevel
public void setLevel(int level)
getStackTraces
public List<StackTrace> getStackTraces()
setStackTraces
public void setStackTraces(List<StackTrace> stackTraces)
getCodeBlockTraces
public CodeBlockTraces getCodeBlockTraces()
getBeginTimeMillis
public long getBeginTimeMillis()
getEndTimeMillis
public long getEndTimeMillis()
getElapsedTimeMillis
public long getElapsedTimeMillis()
getSampleAverageTimeMillis
public long getSampleAverageTimeMillis()
getSelfTimeMillis
public long getSelfTimeMillis()
printChildStackTrace
public String printChildStackTrace()
- If this is a child stack trace (has a parent) then only print the stack trace fragment that belongs exclusively to itself.
Else print the full stack trace.
Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.