Package org.HdrHistogram_voltpatches

Examples of org.HdrHistogram_voltpatches.Histogram


    /*
     * Get a that tracks from 1 microsecond to 10 seconds with
     * 2 significant value digits
     */
    public static Histogram constructHistogram() {
        return new Histogram( LOWEST_TRACKABLE, HIGHEST_TRACKABLE, SIGNIFICANT_VALUE_DIGITS);
    }
View Full Code Here


        final long highestTrackableValue = 60L * 60L * 1000000L;
        final int numberOfSignificantValueDigits = 2;
        if (threadSafe) {
            return new AtomicHistogram( highestTrackableValue, numberOfSignificantValueDigits);
        } else {
            return new Histogram( highestTrackableValue, numberOfSignificantValueDigits);
        }
    }
View Full Code Here

        // Check for non-zero invocations (ENG-4668)
        long invocations = 0;
        results[0].resetRowPosition();
        while (results[0].advanceRow()) {
            byte histogramBytes[] = results[0].getVarbinary("HISTOGRAM");
            Histogram h = AbstractHistogram.fromCompressedBytes(histogramBytes, CompressionStrategySnappy.INSTANCE);
            invocations += h.getHistogramData().getTotalCount();
        }
        assertTrue(invocations > 0);
    }
View Full Code Here

TOP

Related Classes of org.HdrHistogram_voltpatches.Histogram

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.