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
public static class StackProfiler.StackResult extends Result<StackProfiler.StackResult>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StackResult(Map<Thread.State,Multiset<org.openjdk.jmh.profile.StackProfiler.StackRecord>> stacks, int topStacks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringextendedInfo()Print extended result informationprotected Aggregator<StackProfiler.StackResult>getIterationAggregator()Iteration aggregator combines the iteration results into benchmar result.StringgetStack(Map<Thread.State,Multiset<org.openjdk.jmh.profile.StackProfiler.StackRecord>> stacks)protected Aggregator<StackProfiler.StackResult>getThreadAggregator()Thread aggregator combines the thread results into iteration result.StringtoString()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 Detail
-
StackResult
public StackResult(Map<Thread.State,Multiset<org.openjdk.jmh.profile.StackProfiler.StackRecord>> stacks, int topStacks)
-
-
Method Detail
-
getThreadAggregator
protected Aggregator<StackProfiler.StackResult> getThreadAggregator()
Description copied from class:ResultThread aggregator combines the thread results into iteration result.- Specified by:
getThreadAggregatorin classResult<StackProfiler.StackResult>- Returns:
- thread aggregator
-
getIterationAggregator
protected Aggregator<StackProfiler.StackResult> getIterationAggregator()
Description copied from class:ResultIteration aggregator combines the iteration results into benchmar result.- Specified by:
getIterationAggregatorin classResult<StackProfiler.StackResult>- Returns:
- iteration aggregator
-
toString
public String toString()
Description copied from class:ResultResult as represented by a String.- Overrides:
toStringin classResult<StackProfiler.StackResult>- Returns:
- String with the result and unit
-
extendedInfo
public String 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)
-
-