Package org.radargun.stats.representation

Examples of org.radargun.stats.representation.Histogram


         }
         if (accCount > 0) {
            ranges.add(max);
            counts.add(accCount - lastCount);
         }
         return (T) new Histogram(Projections.toLongArray(ranges), Projections.toLongArray(counts));
      } else {
         return null;
      }
   }
View Full Code Here


         if (value.getCountAddedInThisIterationStep() > 0) {
            ranges.add(value.getValueIteratedTo());
            counts.add(value.getCountAddedInThisIterationStep());
         }
      }
      compacted = new Histogram(Projections.toLongArray(ranges), Projections.toLongArray(counts));
      AbstractHistogram temp = histogram;
      histogram = null;
      AbstractHistogram revived = getHistogram();
      if (temp.getTotalCount() != revived.getTotalCount()) throw new IllegalStateException(temp.getTotalCount() + " vs. " + revived.getTotalCount());
      if (!temp.equals(revived)) {
View Full Code Here

      long[] counts = new long[length];
      for (int i = 0; i < length; ++i) {
         ranges[i] = s.readLong();
         counts[i] = s.readLong();
      }
      compacted = new Histogram(ranges, counts);
   }
View Full Code Here

   private void writeRepresentations(OperationStats operationStats, String operation, int cluster, int iteration, String node,
                                     int threads, long period, boolean hasPercentiles, boolean hasHistograms, boolean gray, boolean suspect) {
      DefaultOutcome defaultOutcome = operationStats == null ? null : operationStats.getRepresentation(DefaultOutcome.class);
      Throughput throughput = operationStats == null ? null : operationStats.getRepresentation(Throughput.class, threads, period);
      MeanAndDev meanAndDev = operationStats == null ? null : operationStats.getRepresentation(MeanAndDev.class);
      Histogram histogram = operationStats == null ? null : operationStats.getRepresentation(Histogram.class, configuration.histogramBuckets, configuration.histogramPercentile);

      String rowStyle = suspect ? "background-color: #FFBBBB; " : (gray ? "background-color: #F0F0F0; " : "");
      rowStyle += "text-align: right; ";

      writeTD(defaultOutcome == null ? "&nbsp;" : String.valueOf(defaultOutcome.requests),
View Full Code Here

      }
      if (accCount > 0) {
         ranges.add(max);
         counts.add(accCount - lastCount);
      }
      return new Histogram(Projections.toLongArray(ranges), Projections.toLongArray(counts));
   }
View Full Code Here

TOP

Related Classes of org.radargun.stats.representation.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.