Versions in this module Expand all Collapse all v1 v1.1.7 Apr 1, 2021 Changes in this version + const BVL1 + const BVL1MASK + const BVL2 + const BVL2MASK + const BVL3 + const BVL3MASK + const BVL4 + const BVL4MASK + const BVL5 + const BVL5MASK + const BVL6 + const BVL6MASK + const BVL7 + const BVL7MASK + const BVL8 + const BVL8MASK + type Histogram struct + func Deserialize(in io.Reader) (h *Histogram, err error) + func New() *Histogram + func NewFromStrings(strs []string, locks bool) (*Histogram, error) + func NewNoLocks() *Histogram + func (h *Histogram) ApproxMean() float64 + func (h *Histogram) ApproxQuantile(q_in []float64) ([]float64, error) + func (h *Histogram) ApproxSum() float64 + func (h *Histogram) Copy() *Histogram + func (h *Histogram) CopyAndReset() *Histogram + func (h *Histogram) DecStrings() []string + func (h *Histogram) Equals(other *Histogram) bool + func (h *Histogram) FullReset() + func (h *Histogram) MarshalJSON() ([]byte, error) + func (h *Histogram) Max() float64 + func (h *Histogram) Mean() float64 + func (h *Histogram) Min() float64 + func (h *Histogram) RecordCorrectedValue(v, expectedInterval int64) error + func (h *Histogram) RecordDuration(v time.Duration) error + func (h *Histogram) RecordIntScale(val int64, scale int) error + func (h *Histogram) RecordIntScales(val int64, scale int, n int64) error + func (h *Histogram) RecordValue(v float64) error + func (h *Histogram) RecordValues(v float64, n int64) error + func (h *Histogram) Reset() + func (h *Histogram) Serialize(w io.Writer) error + func (h *Histogram) SerializeB64(w io.Writer) error + func (h *Histogram) SignificantFigures() int64 + func (h *Histogram) UnmarshalJSON(b []byte) error + func (h *Histogram) ValueAtQuantile(q float64) float64