Package org.openjdk.jmh.profile
Class StackProfiler.StackResult
java.lang.Object
org.openjdk.jmh.results.Result<StackProfiler.StackResult>
org.openjdk.jmh.profile.StackProfiler.StackResult
- All Implemented Interfaces:
Serializable
- Enclosing class:
StackProfiler
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
private final Map
<Thread.State, Multiset<StackProfiler.StackRecord>> private final int
-
Constructor Summary
ConstructorsConstructorDescriptionStackResult
(Map<Thread.State, Multiset<StackProfiler.StackRecord>> stacks, int topStacks) -
Method Summary
Modifier and TypeMethodDescriptionPrint extended result informationprotected Aggregator
<StackProfiler.StackResult> Iteration aggregator combines the iteration results into benchmar result.getStack
(Map<Thread.State, Multiset<StackProfiler.StackRecord>> stacks) protected Aggregator
<StackProfiler.StackResult> Thread aggregator combines the thread results into iteration result.private long
private boolean
isSignificant
(long part, long total) toString()
Result as represented by a String.Methods inherited from class org.openjdk.jmh.results.Result
distributionExtendedInfo, getDerivativeResults, getLabel, getRole, getSampleCount, getScore, getScoreConfidence, getScoreError, getScoreUnit, getStatistics, getZeroResult, of, simpleExtendedInfo
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
stacks
-
topStacks
private final int topStacks
-
-
Constructor Details
-
StackResult
-
-
Method Details
-
getThreadAggregator
Description copied from class:Result
Thread aggregator combines the thread results into iteration result.- Specified by:
getThreadAggregator
in classResult<StackProfiler.StackResult>
- Returns:
- thread aggregator
-
getIterationAggregator
Description copied from class:Result
Iteration aggregator combines the iteration results into benchmar result.- Specified by:
getIterationAggregator
in classResult<StackProfiler.StackResult>
- Returns:
- iteration aggregator
-
toString
Description copied from class:Result
Result as represented by a String.- Overrides:
toString
in classResult<StackProfiler.StackResult>
- Returns:
- String with the result and unit
-
extendedInfo
Description copied from class:Result
Print extended result information- Overrides:
extendedInfo
in classResult<StackProfiler.StackResult>
- Returns:
- String with extended info
-
getStack
-
isSignificant
private boolean isSignificant(long part, long total) -
getTotalSize
-