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
-
Constructor Summary
ConstructorsConstructorDescriptionStackResult(Map<Thread.State, Multiset<org.openjdk.jmh.profile.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<org.openjdk.jmh.profile.StackProfiler.StackRecord>> stacks) protected Aggregator<StackProfiler.StackResult>Thread aggregator combines the thread results into iteration result.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
-
Constructor Details
-
StackResult
public StackResult(Map<Thread.State, Multiset<org.openjdk.jmh.profile.StackProfiler.StackRecord>> stacks, int topStacks)
-
-
Method Details
-
getThreadAggregator
Description copied from class:ResultThread aggregator combines the thread results into iteration result.- Specified by:
getThreadAggregatorin classResult<StackProfiler.StackResult>- Returns:
- thread aggregator
-
getIterationAggregator
Description copied from class:ResultIteration aggregator combines the iteration results into benchmar result.- Specified by:
getIterationAggregatorin classResult<StackProfiler.StackResult>- Returns:
- iteration aggregator
-
toString
Description copied from class:ResultResult as represented by a String.- Overrides:
toStringin classResult<StackProfiler.StackResult>- Returns:
- String with the result and unit
-
extendedInfo
Description copied from class:ResultPrint extended result information- Overrides:
extendedInfoin classResult<StackProfiler.StackResult>- Returns:
- String with extended info
-
getStack
public String getStack(Map<Thread.State, Multiset<org.openjdk.jmh.profile.StackProfiler.StackRecord>> stacks)
-