org.HdrHistogram.Histogram.outputPercentileDistribution()方法的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(5.7k)|赞(0)|评价(0)|浏览(158)

本文整理了Java中org.HdrHistogram.Histogram.outputPercentileDistribution()方法的一些代码示例,展示了Histogram.outputPercentileDistribution()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Histogram.outputPercentileDistribution()方法的具体详情如下:
包路径:org.HdrHistogram.Histogram
类名称:Histogram
方法名:outputPercentileDistribution

Histogram.outputPercentileDistribution介绍

暂无

代码示例

代码示例来源:origin: HdrHistogram/HdrHistogram

@Override
public synchronized void outputPercentileDistribution(final PrintStream printStream,
                     final Double outputValueUnitScalingRatio) {
  super.outputPercentileDistribution(printStream, outputValueUnitScalingRatio);
}

代码示例来源:origin: HdrHistogram/HdrHistogram

@Override
public synchronized void outputPercentileDistribution(final PrintStream printStream,
                     final int percentileTicksPerHalfDistance,
                     final Double outputValueUnitScalingRatio) {
  super.outputPercentileDistribution(printStream, percentileTicksPerHalfDistance, outputValueUnitScalingRatio);
}

代码示例来源:origin: HdrHistogram/HdrHistogram

@Override
public synchronized void outputPercentileDistribution(final PrintStream printStream,
                     final int percentileTicksPerHalfDistance,
                     final Double outputValueUnitScalingRatio,
                     final boolean useCsvFormat) {
  super.outputPercentileDistribution(printStream, percentileTicksPerHalfDistance, outputValueUnitScalingRatio, useCsvFormat);
}

代码示例来源:origin: linkedin/parseq

@Override
 public void wrapUp() {
  LOG.info("----------------------------------------------------------------");
  LOG.info("Histogram of benchmark execution plan accuracy in \u00B5s:");
  planExecutionAccuracy.outputPercentileDistribution(System.out, 1000.0);
  LOG.info(BENCHMARK_TEST_RESULTS_LOG_PREFIX + "Histogram of benchmark execution plan accuracy in \u00B5s: " +
    _histogramSerializer.serialize(planExecutionAccuracy));
 }
}

代码示例来源:origin: real-logic/aeron

histogram.outputPercentileDistribution(System.out, 1000.0);

代码示例来源:origin: real-logic/aeron

histogram.outputPercentileDistribution(System.out, 1000.0);

代码示例来源:origin: org.apache.logging.log4j/log4j-core

private static void writeToFile(final String suffix, final Histogram hist, final int thousandMsgPerSec,
    final double scale) throws IOException {
  try (PrintStream pout = new PrintStream(new FileOutputStream(thousandMsgPerSec + "k" + suffix))) {
    hist.outputPercentileDistribution(pout, scale);
  }
}

代码示例来源:origin: real-logic/aeron

histogram.outputPercentileDistribution(System.out, 1000.0);

代码示例来源:origin: real-logic/aeron

histogram.outputPercentileDistribution(System.out, 1000.0);

代码示例来源:origin: real-logic/aeron

HISTOGRAM.outputPercentileDistribution(System.out, 1000.0);

代码示例来源:origin: real-logic/aeron

System.out.println("Histogram of RTT latencies in microseconds.");
HISTOGRAM.outputPercentileDistribution(System.out, 1000.0);

代码示例来源:origin: linkedin/parseq

taskHistogram.outputPercentileDistribution(System.out, 1000.0);
LOG.info(BENCHMARK_TEST_RESULTS_LOG_PREFIX + "Histogram of task execution times on parseq threads in \u00B5s: " +
  _histogramSerializer.serialize(taskHistogram));
planHistogram.outputPercentileDistribution(System.out, 1000.0);
LOG.info(BENCHMARK_TEST_RESULTS_LOG_PREFIX + "Histogram of plan completion times in \u00B5s: " +
  _histogramSerializer.serialize(planHistogram));

代码示例来源:origin: org.apache.logging.log4j/log4j-core

resultServiceTm.outputPercentileDistribution(System.out, 1000.0);
writeToFile("s", resultServiceTm, (int) (loadMessagesPerSec / 1000), 1000.0);
resultResponseTm.outputPercentileDistribution(System.out, 1000.0);
writeToFile("r", resultResponseTm, (int) (loadMessagesPerSec / 1000), 1000.0);

代码示例来源:origin: HdrHistogram/HdrHistogram

config.percentilesOutputTicksPerHalf, config.outputValueUnitRatio, config.logFormatCsv);
} else {
  accumulatedRegularHistogram.outputPercentileDistribution(histogramPercentileLog,
      config.percentilesOutputTicksPerHalf, config.outputValueUnitRatio, config.logFormatCsv);

代码示例来源:origin: rsocket/rsocket-java

public Recorder startTracker(Duration interval) {
 final Recorder histogram = new Recorder(3600000000000L, 3);
 Flux.interval(interval)
   .doOnNext(
     aLong -> {
      System.out.println("---- PING/ PONG HISTO ----");
      histogram
        .getIntervalHistogram()
        .outputPercentileDistribution(System.out, 5, 1000.0, false);
      System.out.println("---- PING/ PONG HISTO ----");
     })
   .subscribe();
 return histogram;
}

代码示例来源:origin: org.hdrhistogram/HdrHistogram

@Override
public synchronized void outputPercentileDistribution(final PrintStream printStream,
                     final int percentileTicksPerHalfDistance,
                     final Double outputValueUnitScalingRatio) {
  super.outputPercentileDistribution(printStream, percentileTicksPerHalfDistance, outputValueUnitScalingRatio);
}

代码示例来源:origin: org.hdrhistogram/HdrHistogram

@Override
public synchronized void outputPercentileDistribution(final PrintStream printStream,
                     final int percentileTicksPerHalfDistance,
                     final Double outputValueUnitScalingRatio,
                     final boolean useCsvFormat) {
  super.outputPercentileDistribution(printStream, percentileTicksPerHalfDistance, outputValueUnitScalingRatio, useCsvFormat);
}

代码示例来源:origin: org.hdrhistogram/HdrHistogram

@Override
public synchronized void outputPercentileDistribution(final PrintStream printStream,
                     final Double outputValueUnitScalingRatio) {
  super.outputPercentileDistribution(printStream, outputValueUnitScalingRatio);
}

代码示例来源:origin: jpos/jPOS

private void dumpHistogram (File dir, String key, Histogram h) {
  try (FileOutputStream fos = new FileOutputStream(new File(dir, key + ".hgrm"))) {
    h.outputPercentileDistribution(new PrintStream(fos), 1.0);
  } catch (IOException e) {
    e.printStackTrace();
  }
}

代码示例来源:origin: com.github.vladimir-bukhtoyarov/rolling-metrics

@Override
  public String toString() {
    ByteArrayOutputStream stream = new ByteArrayOutputStream();
    PrintStream printStream;
    printStream = new PrintStream(stream, true);
    histogram.outputPercentileDistribution(printStream, 1.0);
    String distributionAsString = new String(stream.toByteArray());
    return "FullSnapshot{" + distributionAsString + "}";
  }
};

相关文章