io.nosqlbench.virtdata.userlibs.apps.valuesapp.LongHistogram Maven / Gradle / Ivy
package io.nosqlbench.virtdata.userlibs.apps.valuesapp;
public class LongHistogram implements PostProcessor {
long[] buckets;
long mask;
public LongHistogram(int bits) {
if (bits>16) {
throw new RuntimeException("bits > 16 may cause OOM");
}
mask=0L;
for (int i = 1; i <= bits; i++) {
mask&=1L<
© 2015 - 2025 Weber Informatics LLC | Privacy Policy