public long getCountAtValueIteratedTo() { return integerHistogramIterationValue.getCountAtValueIteratedTo(); }
v.getCountAtValueIteratedTo(), expectedIntervalBetweenValueSamples);
toHistogram.recordValueWithCountAndExpectedInterval( v.getValueIteratedTo() * getIntegerToDoubleValueConversionRatio(), v.getCountAtValueIteratedTo(), expectedIntervalBetweenValueSamples);
/** * Get the computed mean value of all recorded values in the histogram * * @return the mean value (in value units) of the histogram data */ public double getMean() { if (getTotalCount() == 0) { return 0.0; } recordedValuesIterator.reset(); double totalValue = 0; while (recordedValuesIterator.hasNext()) { HistogramIterationValue iterationValue = recordedValuesIterator.next(); totalValue += medianEquivalentValue(iterationValue.getValueIteratedTo()) * (double) iterationValue.getCountAtValueIteratedTo(); } return (totalValue * 1.0) / getTotalCount(); }
exporter.write(getName(), Integer.toString(value), (double)v.getCountAtValueIteratedTo());
long countAtValueIteratedTo = value.getCountAtValueIteratedTo(); long valueIteratedTo = value.getValueIteratedTo(); if (that.getCountAtValue(valueIteratedTo) != countAtValueIteratedTo) {
public long getCountAtValueIteratedTo() { return integerHistogramIterationValue.getCountAtValueIteratedTo(); }
v.getCountAtValueIteratedTo(), expectedIntervalBetweenValueSamples);
toHistogram.recordValueWithCountAndExpectedInterval( v.getValueIteratedTo() * getIntegerToDoubleValueConversionRatio(), v.getCountAtValueIteratedTo(), expectedIntervalBetweenValueSamples);
/** * Get the computed mean value of all recorded values in the histogram * * @return the mean value (in value units) of the histogram data */ public double getMean() { if (getTotalCount() == 0) { return 0.0; } recordedValuesIterator.reset(); double totalValue = 0; while (recordedValuesIterator.hasNext()) { HistogramIterationValue iterationValue = recordedValuesIterator.next(); totalValue += medianEquivalentValue(iterationValue.getValueIteratedTo()) * (double) iterationValue.getCountAtValueIteratedTo(); } return (totalValue * 1.0) / getTotalCount(); }
long countAtValueIteratedTo = value.getCountAtValueIteratedTo(); long valueIteratedTo = value.getValueIteratedTo(); if (that.getCountAtValue(valueIteratedTo) != countAtValueIteratedTo) {