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

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

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

Histogram.getEstimatedFootprintInBytes介绍

暂无

代码示例

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

@Override
public synchronized int getEstimatedFootprintInBytes() {
  return super.getEstimatedFootprintInBytes();
}

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

@Override
public synchronized int getEstimatedFootprintInBytes() {
  return super.getEstimatedFootprintInBytes();
}

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

@Override
public int getEstimatedFootprintInBytes() {
  // each histogram has equivalent pessimistic estimation
  int oneHistogramPessimisticFootprint = temporarySnapshotHistogram.getEstimatedFootprintInBytes();
  // 4 - two recorders with two histogram
  // 2 - two histogram for storing accumulated values from current phase
  // 1 - temporary histogram used for snapshot extracting
  return oneHistogramPessimisticFootprint * ((archive != null? archive.length : 0) + 4 + 2 + 1);
}

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

@Override
public int getEstimatedFootprintInBytes() {
  // each histogram has equivalent pessimistic estimation
  int oneHistogramPessimisticFootprint = temporarySnapshotHistogram.getEstimatedFootprintInBytes();
  // 4 - two recorders with two histogram
  // 2 - two histogram for storing accumulated values from current phase
  // 1 - temporary histogram used for snapshot extracting
  return oneHistogramPessimisticFootprint * ((archive != null? archive.length : 0) + 4 + 2 + 1);
}

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

@Override
public int getEstimatedFootprintInBytes() {
  return intervalHistogram.getEstimatedFootprintInBytes() * 2;
}

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

@Override
public int getEstimatedFootprintInBytes() {
  return intervalHistogram.getEstimatedFootprintInBytes() * 3;
}

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

@Override
public int getEstimatedFootprintInBytes() {
  return intervalHistogram.getEstimatedFootprintInBytes() * 3;
}

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

@Override
public int getEstimatedFootprintInBytes() {
  return intervalHistogram.getEstimatedFootprintInBytes() * 2;
}

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

private void dumpPercentiles (PrintStream ps, String indent, String key, Histogram h) {
  ps.printf ("%s%s min=%d, max=%d, mean=%.4f stddev=%.4f 90%%=%d, 99%%=%d, 99.9%%=%d, 99.99%%=%d tot=%d size=%d%n",
   indent,
   key,
   h.getMinValue(),
   h.getMaxValue(),
   h.getMean(),
   h.getStdDeviation(),
   h.getValueAtPercentile(90.0),
   h.getValueAtPercentile(99.0),
   h.getValueAtPercentile(99.9),
   h.getValueAtPercentile(99.99),
   h.getTotalCount(),
   h.getEstimatedFootprintInBytes()
  );
}

相关文章