Versions in this module Expand all Collapse all v1 v1.0.7 Oct 29, 2015 v1.0.6 Sep 13, 2015 Changes in this version + var TimeNow = time.Now + func RunTestMain(m *testing.M) int + type Counter struct + func (c *Counter) Delta10m() int64 + func (c *Counter) Delta1h() int64 + func (c *Counter) Delta1m() int64 + func (c *Counter) Incr(delta int64) + func (c *Counter) LastUpdate() time.Time + func (c *Counter) Rate10m() float64 + func (c *Counter) Rate1h() float64 + func (c *Counter) Rate1m() float64 + func (c *Counter) Reset() + func (c *Counter) Set(value int64) + func (c *Counter) Value() int64 + type Histogram struct + func NewHistogram(opts HistogramOptions) *Histogram + func (h *Histogram) Add(value int64) error + func (h *Histogram) Delta10m() HistogramValue + func (h *Histogram) Delta1h() HistogramValue + func (h *Histogram) Delta1m() HistogramValue + func (h *Histogram) LastUpdate() time.Time + func (h *Histogram) Opts() HistogramOptions + func (h *Histogram) Value() HistogramValue + type HistogramBucket struct + Count int64 + LowBound int64 + type HistogramOptions struct + GrowthFactor float64 + MinValue int64 + NumBuckets int + SmallestBucketSize float64 + type HistogramValue struct + Buckets []HistogramBucket + Count int64 + Max int64 + Min int64 + Sum int64 + func (v HistogramValue) Print(w io.Writer) + func (v HistogramValue) String() string + 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 + type Tracker struct + func (t *Tracker) LastUpdate() time.Time + func (t *Tracker) Max() int64 + func (t *Tracker) Max10m() int64 + func (t *Tracker) Max1h() int64 + func (t *Tracker) Max1m() int64 + func (t *Tracker) Min() int64 + func (t *Tracker) Min10m() int64 + func (t *Tracker) Min1h() int64 + func (t *Tracker) Min1m() int64 + func (t *Tracker) Push(value int64) + func (t *Tracker) Reset()