Package org.openjdk.jmh.util
Class SampleBuffer
- java.lang.Object
-
- org.openjdk.jmh.util.SampleBuffer
-
- All Implemented Interfaces:
Serializable
public class SampleBuffer extends Object implements Serializable
Sampling buffer accepts samples.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SampleBuffer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(long sample)voidaddAll(SampleBuffer other)intcount()StatisticsgetStatistics(double multiplier)voidhalf()
-
-
-
Method Detail
-
half
public void half()
-
add
public void add(long sample)
-
getStatistics
public Statistics getStatistics(double multiplier)
-
addAll
public void addAll(SampleBuffer other)
-
count
public int count()
-
-