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 TypeMethodDescriptionvoidadd(long sample) voidaddAll(SampleBuffer other) intcount()getStatistics(double multiplier) voidhalf()
-
Constructor Details
-
SampleBuffer
public SampleBuffer()
-
-
Method Details
-
half
public void half() -
add
public void add(long sample) -
getStatistics
-
addAll
-
count
public int count()
-