Versions in this module Expand all Collapse all v1 v1.0.0 Jul 11, 2016 Changes in this version + func RunTestMain(m *testing.M) int + type Histogram struct + Buckets []HistogramBucket + Count int64 + Max int64 + Min int64 + Sum int64 + SumOfSquares int64 + func NewHistogram(opts HistogramOptions) *Histogram + func (h *Histogram) Add(value int64) error + func (h *Histogram) Clear() + func (h *Histogram) Merge(h2 *Histogram) + func (h *Histogram) Opts() HistogramOptions + func (h *Histogram) Print(w io.Writer) + func (h *Histogram) String() string + type HistogramBucket struct + Count int64 + LowBound float64 + type HistogramOptions struct + BaseBucketSize float64 + GrowthFactor float64 + MinValue int64 + NumBuckets int + type Stats struct + func AddStats(b *testing.B, numBuckets int) *Stats + func AddStatsWithName(b *testing.B, name string, numBuckets int) *Stats + func NewStats(numBuckets int) *Stats + func (stats *Stats) Add(d time.Duration) + func (stats *Stats) Clear() + func (stats *Stats) Print(w io.Writer) + func (stats *Stats) String() string