Versions in this module Expand all Collapse all v0 v0.9.0 Oct 10, 2016 Changes in this version + type Bar struct + Count int64 + From int64 + To int64 + func (b Bar) String() string + type Bracket struct + Count int64 + Quantile float64 + ValueAt int64 + type Histogram struct + func Import(s *Snapshot) *Histogram + func New(minValue, maxValue int64, sigfigs int) *Histogram + func (h *Histogram) ByteSize() int + func (h *Histogram) CumulativeDistribution() []Bracket + func (h *Histogram) Distribution() (result []Bar) + func (h *Histogram) Equals(other *Histogram) bool + func (h *Histogram) Export() *Snapshot + func (h *Histogram) HighestTrackableValue() int64 + func (h *Histogram) LowestTrackableValue() int64 + func (h *Histogram) Max() int64 + func (h *Histogram) Mean() float64 + func (h *Histogram) Merge(from *Histogram) (dropped int64) + func (h *Histogram) Min() int64 + func (h *Histogram) RecordCorrectedValue(v, expectedInterval int64) error + func (h *Histogram) RecordValue(v int64) error + func (h *Histogram) RecordValues(v, n int64) error + func (h *Histogram) Reset() + func (h *Histogram) SignificantFigures() int64 + func (h *Histogram) StdDev() float64 + func (h *Histogram) TotalCount() int64 + func (h *Histogram) ValueAtQuantile(q float64) int64 + type Snapshot struct + Counts []int64 + HighestTrackableValue int64 + LowestTrackableValue int64 + SignificantFigures int64 + type WindowedHistogram struct + Current *Histogram + func NewWindowed(n int, minValue, maxValue int64, sigfigs int) *WindowedHistogram + func (w *WindowedHistogram) Merge() *Histogram + func (w *WindowedHistogram) Rotate()