Package net.minecraft.util.profiler
Class Sampler.RatioDeviationChecker
java.lang.Object
net.minecraft.util.profiler.Sampler.RatioDeviationChecker
- All Implemented Interfaces:
Sampler.DeviationChecker
- Enclosing class:
Sampler
public static class Sampler.RatioDeviationChecker
extends Object
implements Sampler.DeviationChecker
- Mappings:
Namespace Name official bet$d
intermediary net/minecraft/class_5965$class_5968
named net/minecraft/util/profiler/Sampler$RatioDeviationChecker
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
threshold
private final float threshold- Mappings:
Namespace Name Mixin selector official a
Lbet$d;a:F
intermediary field_29609
Lnet/minecraft/class_5965$class_5968;field_29609:F
named threshold
Lnet/minecraft/util/profiler/Sampler$RatioDeviationChecker;threshold:F
-
lastValue
private double lastValue- Mappings:
Namespace Name Mixin selector official b
Lbet$d;b:D
intermediary field_29611
Lnet/minecraft/class_5965$class_5968;field_29611:D
named lastValue
Lnet/minecraft/util/profiler/Sampler$RatioDeviationChecker;lastValue:D
-
-
Constructor Details
-
RatioDeviationChecker
public RatioDeviationChecker(float threshold) - Mappings:
Namespace Name Mixin selector official <init>
Lbet$d;<init>(F)V
intermediary <init>
Lnet/minecraft/class_5965$class_5968;<init>(F)V
named <init>
Lnet/minecraft/util/profiler/Sampler$RatioDeviationChecker;<init>(F)V
-
-
Method Details
-
check
public boolean check(double value) - Specified by:
check
in interfaceSampler.DeviationChecker
- Mappings:
Namespace Name Mixin selector official test
Lbet$c;test(D)Z
intermediary method_34792
Lnet/minecraft/class_5965$class_5967;method_34792(D)Z
named check
Lnet/minecraft/util/profiler/Sampler$DeviationChecker;check(D)Z
-