Class MethodProfilingDataProvider
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.rules.jdk.dataproviders.MethodProfilingDataProvider
-
public class MethodProfilingDataProvider extends java.lang.Object
Helper class for analyzing sets of method profiling samples.
-
-
Field Summary
Fields Modifier and Type Field Description static IAggregator<IQuantity,?>
MAX_ENDTIME
static IAggregator<IQuantity,?>
MIN_ENDTIME
static IAccessorFactory<IMCStackTrace>
PATH_ACCESSOR_FACTORY
static IItemFilter
SAMPLES_OR_CPU_FILTER
static IAccessorFactory<IMCMethod>
TOP_FRAME_ACCESSOR_FACTORY
A custom accessor used to get the top frame in a stack trace.static IAggregator<IQuantity,?>
TOP_FRAME_BALANCE
Ready to use aggregator using thetopFrameBalanceFunction
.static IAggregator<IQuantity,?>
TOP_FRAME_QUOTA
Ready to use aggregator using thetopFrameQuotaFunction
.static GroupingAggregator.IQuantityListFinisher<IQuantity>
topFrameBalanceFunction
Function that calculates a value representing how balanced the set of top frames is as a number in the range [0,1].static GroupingAggregator.IQuantityListFinisher<IQuantity>
topFrameQuotaFunction
A quota calculation of how large a part the most commonly occurring top frame is of the total amount of samples input.
-
Constructor Summary
Constructors Constructor Description MethodProfilingDataProvider()
-
-
-
Field Detail
-
SAMPLES_OR_CPU_FILTER
public static final IItemFilter SAMPLES_OR_CPU_FILTER
-
MIN_ENDTIME
public static final IAggregator<IQuantity,?> MIN_ENDTIME
-
MAX_ENDTIME
public static final IAggregator<IQuantity,?> MAX_ENDTIME
-
TOP_FRAME_ACCESSOR_FACTORY
public static final IAccessorFactory<IMCMethod> TOP_FRAME_ACCESSOR_FACTORY
A custom accessor used to get the top frame in a stack trace.
-
PATH_ACCESSOR_FACTORY
public static final IAccessorFactory<IMCStackTrace> PATH_ACCESSOR_FACTORY
-
topFrameBalanceFunction
public static final GroupingAggregator.IQuantityListFinisher<IQuantity> topFrameBalanceFunction
Function that calculates a value representing how balanced the set of top frames is as a number in the range [0,1]. A high number indicates that there are some frames occurring more frequently than others.
-
topFrameQuotaFunction
public static final GroupingAggregator.IQuantityListFinisher<IQuantity> topFrameQuotaFunction
A quota calculation of how large a part the most commonly occurring top frame is of the total amount of samples input.
-
TOP_FRAME_BALANCE
public static final IAggregator<IQuantity,?> TOP_FRAME_BALANCE
Ready to use aggregator using thetopFrameBalanceFunction
.
-
TOP_FRAME_QUOTA
public static final IAggregator<IQuantity,?> TOP_FRAME_QUOTA
Ready to use aggregator using thetopFrameQuotaFunction
.
-
-