public class HaltsProvider extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HaltsProvider.ApplicationHaltsInfoHolder |
Constructor and Description |
---|
HaltsProvider() |
Modifier and Type | Method and Description |
---|---|
static SlidingWindowToolkit.IUnorderedWindowValueFunction<HaltsProvider.ApplicationHaltsInfoHolder> |
applicationHaltsRatioFunction() |
static HaltsProvider.ApplicationHaltsInfoHolder |
calculateApplicationHaltsRatio(IItemCollection items)
Calculates the ratio of all application pauses to the total time.
|
static IQuantity |
calculateGcHaltsRatio(IItemCollection items,
IQuantity startTime,
IQuantity endTime)
Calculates the ratio of GC pauses to the total time.
|
static IQuantity |
calculateGcPauseRatio(IItemCollection items)
Calculates the ratio of GC pauses to the total time.
|
static SlidingWindowToolkit.IUnorderedWindowValueFunction<IQuantity> |
gcHaltsRatioFunction() |
public static IQuantity calculateGcPauseRatio(IItemCollection items)
items
- items to do calculation onpublic static IQuantity calculateGcHaltsRatio(IItemCollection items, IQuantity startTime, IQuantity endTime)
items
- items to do calculation onstartTime
- start of timespan to do calculation inendTime
- end of timespan to do calculation inpublic static HaltsProvider.ApplicationHaltsInfoHolder calculateApplicationHaltsRatio(IItemCollection items)
items
- items to do calculation onpublic static SlidingWindowToolkit.IUnorderedWindowValueFunction<IQuantity> gcHaltsRatioFunction()
public static SlidingWindowToolkit.IUnorderedWindowValueFunction<HaltsProvider.ApplicationHaltsInfoHolder> applicationHaltsRatioFunction()
Copyright © 2019. All rights reserved.