Package redempt.redlib.dev.profiler
Class SampleSummary
java.lang.Object
redempt.redlib.dev.profiler.SampleSummary
Represents a summary of profiler data
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Represents a method and its specific place in the summary tree. -
Constructor Summary
ModifierConstructorDescriptionprotected
protected
SampleSummary
(Collection<redempt.redlib.dev.profiler.Sample> samples) -
Method Summary
-
Constructor Details
-
SampleSummary
-
SampleSummary
protected SampleSummary()
-
-
Method Details
-
add
-
clone
-
getStart
public long getStart()- Returns:
- The time this SampleSummary's data starts at
-
getEnd
public long getEnd()- Returns:
- The time this SampleSummary's data ends at
-
getDuration
public long getDuration()- Returns:
- The difference between the end and start of this SampleSummary's data
-
getRoot
- Returns:
- The root method, which all other methods were called by some descendent of in this summary
-
getMethodsByName
- Returns:
- A map of method names to the
SampleSummary.SampleMethod
s associated with them. One name can have multiple mappings because each SampleMethod represents a method and its relative position in the stack trace.
-