Package org.openjdk.jmh.util
Class SampleBuffer
java.lang.Object
org.openjdk.jmh.util.SampleBuffer
- All Implemented Interfaces:
Serializable
Sampling buffer accepts samples.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(long sample) void
addAll
(SampleBuffer other) int
count()
getStatistics
(double multiplier) void
half()
-
Constructor Details
-
SampleBuffer
public SampleBuffer()
-
-
Method Details
-
half
public void half() -
add
public void add(long sample) -
getStatistics
-
addAll
-
count
public int count()
-