Package org.apache.cassandra.stress.util

Examples of org.apache.cassandra.stress.util.TimingInterval


        stopped.await();
    }

    private void update() throws InterruptedException
    {
        TimingInterval interval = timing.snapInterval();
        printRow("", interval, timing.getHistory(), opRateUncertainty, output);
        opRateUncertainty.update(interval.adjustedOpRate());
    }
View Full Code Here


    public void summarise()
    {
        output.println("\n");
        output.println("Results:");
        TimingInterval history = timing.getHistory();
        output.println(String.format("real op rate              : %.0f", history.realOpRate()));
        output.println(String.format("adjusted op rate          : %.0f", history.adjustedOpRate()));
        output.println(String.format("adjusted op rate stderr   : %.0f", opRateUncertainty.getUncertainty()));
        output.println(String.format("key rate                  : %.0f", history.keyRate()));
        output.println(String.format("latency mean              : %.1f", history.meanLatency()));
        output.println(String.format("latency median            : %.1f", history.medianLatency()));
        output.println(String.format("latency 95th percentile   : %.1f", history.rankLatency(.95f)));
        output.println(String.format("latency 99th percentile   : %.1f", history.rankLatency(0.99f)));
        output.println(String.format("latency 99.9th percentile : %.1f", history.rankLatency(0.999f)));
        output.println(String.format("latency max               : %.1f", history.maxLatency()));
        output.println("Total operation time      : " + DurationFormatUtils.formatDuration(
                history.runTime(), "HH:mm:ss", true));
    }
View Full Code Here

        stopped.await();
    }

    private void update() throws InterruptedException
    {
        TimingInterval interval = timing.snapInterval();
        printRow("", interval, timing.getHistory(), opRateUncertainty, output);
        opRateUncertainty.update(interval.adjustedOpRate());
    }
View Full Code Here

    public void summarise()
    {
        output.println("\n");
        output.println("Results:");
        TimingInterval history = timing.getHistory();
        output.println(String.format("real op rate              : %.0f", history.realOpRate()));
        output.println(String.format("adjusted op rate stderr   : %.0f", opRateUncertainty.getUncertainty()));
        output.println(String.format("key rate                  : %.0f", history.keyRate()));
        output.println(String.format("latency mean              : %.1f", history.meanLatency()));
        output.println(String.format("latency median            : %.1f", history.medianLatency()));
        output.println(String.format("latency 95th percentile   : %.1f", history.rankLatency(.95f)));
        output.println(String.format("latency 99th percentile   : %.1f", history.rankLatency(0.99f)));
        output.println(String.format("latency 99.9th percentile : %.1f", history.rankLatency(0.999f)));
        output.println(String.format("latency max               : %.1f", history.maxLatency()));
        output.println("Total operation time      : " + DurationFormatUtils.formatDuration(
                history.runTime(), "HH:mm:ss", true));
    }
View Full Code Here

    public void summarise()
    {
        output.println("\n");
        output.println("Results:");
        TimingInterval history = timing.getHistory();
        output.println(String.format("op rate                   : %.0f", history.opRate()));
        output.println(String.format("partition rate            : %.0f", history.partitionRate()));
        output.println(String.format("row rate                  : %.0f", history.rowRate()));
        output.println(String.format("latency mean              : %.1f", history.meanLatency()));
        output.println(String.format("latency median            : %.1f", history.medianLatency()));
        output.println(String.format("latency 95th percentile   : %.1f", history.rankLatency(.95f)));
        output.println(String.format("latency 99th percentile   : %.1f", history.rankLatency(0.99f)));
        output.println(String.format("latency 99.9th percentile : %.1f", history.rankLatency(0.999f)));
        output.println(String.format("latency max               : %.1f", history.maxLatency()));
        output.println(String.format("total gc count            : %.0f", totalGcStats.count));
        output.println(String.format("total gc mb               : %.0f", totalGcStats.bytes / (1 << 20)));
        output.println(String.format("total gc time (s)         : %.0f", totalGcStats.summs / 1000));
        output.println(String.format("avg gc time(ms)           : %.0f", totalGcStats.summs / totalGcStats.count));
        output.println(String.format("stdev gc time(ms)         : %.0f", totalGcStats.sdvms));
        output.println("Total operation time      : " + DurationFormatUtils.formatDuration(
                history.runTime(), "HH:mm:ss", true));
    }
View Full Code Here

        stopped.await();
    }

    private void update() throws InterruptedException
    {
        TimingInterval interval = timing.snapInterval();
        printRow("", interval, timing.getHistory(), opRateUncertainty, output);
        opRateUncertainty.update(interval.adjustedOpRate());
    }
View Full Code Here

    public void summarise()
    {
        output.println("\n");
        output.println("Results:");
        TimingInterval history = timing.getHistory();
        output.println(String.format("op rate                   : %.0f", history.realOpRate()));
        output.println(String.format("partition rate            : %.0f", history.partitionRate()));
        output.println(String.format("row rate                  : %.0f", history.rowRate()));
        output.println(String.format("latency mean              : %.1f", history.meanLatency()));
        output.println(String.format("latency median            : %.1f", history.medianLatency()));
        output.println(String.format("latency 95th percentile   : %.1f", history.rankLatency(.95f)));
        output.println(String.format("latency 99th percentile   : %.1f", history.rankLatency(0.99f)));
        output.println(String.format("latency 99.9th percentile : %.1f", history.rankLatency(0.999f)));
        output.println(String.format("latency max               : %.1f", history.maxLatency()));
        output.println("Total operation time      : " + DurationFormatUtils.formatDuration(
                history.runTime(), "HH:mm:ss", true));
    }
View Full Code Here

TOP

Related Classes of org.apache.cassandra.stress.util.TimingInterval

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.