public class TimeTrace extends StackTrace
Modifier and Type | Field and Description |
---|---|
protected List<TimeTrace> |
children |
protected CodeBlockTraces |
codeBlockTraces |
protected int |
level |
protected TimeTrace |
parent |
protected List<StackTrace> |
stackTraces |
context, creationTimeMillis, stackTrace
Constructor and Description |
---|
TimeTrace(StackTraceElement[] stackTrace,
List<StackTrace> samples,
List<TimeTrace> children,
CodeBlockTrace context) |
Modifier and Type | Method and Description |
---|---|
long |
getBeginTimeMillis() |
List<TimeTrace> |
getChildren() |
CodeBlockTraces |
getCodeBlockTraces() |
long |
getElapsedTimeMillis() |
long |
getEndTimeMillis() |
int |
getLevel() |
TimeTrace |
getParent() |
long |
getSampleAverageTimeMillis() |
long |
getSelfTimeMillis() |
List<StackTrace> |
getStackTraces() |
String |
printChildStackTrace()
If this is a child stack trace (has a parent) then only print the stack trace fragment that belongs exclusively to itself.
|
void |
setChildren(List<TimeTrace> children) |
void |
setLevel(int level) |
void |
setParent(TimeTrace parent) |
void |
setStackTraces(List<StackTrace> stackTraces) |
eq, equals, equals, first, from, get, getContext, getCreationTimeMillis, intersect, last, length, printStackElement, printStackTrace, reverseIndex, setContext
protected TimeTrace parent
protected List<StackTrace> stackTraces
protected CodeBlockTraces codeBlockTraces
protected int level
public TimeTrace(StackTraceElement[] stackTrace, List<StackTrace> samples, List<TimeTrace> children, CodeBlockTrace context)
public TimeTrace getParent()
public void setParent(TimeTrace parent)
public int getLevel()
public void setLevel(int level)
public List<StackTrace> getStackTraces()
public void setStackTraces(List<StackTrace> stackTraces)
public CodeBlockTraces getCodeBlockTraces()
public long getBeginTimeMillis()
public long getEndTimeMillis()
public long getElapsedTimeMillis()
public long getSampleAverageTimeMillis()
public long getSelfTimeMillis()
public String printChildStackTrace()
Copyright © 2012-2015 JBoss by Red Hat. All Rights Reserved.