Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeCountable ¶
func MakeCountable(v int) *countable
func Microsecond ¶
func Microsecond() int
func Millisecond ¶
func Millisecond() int
func Nanosecond ¶
func Nanosecond() int
Types ¶
type GranularCounter ¶
func NewGranularCounter ¶
func NewGranularCounter(bufferCap int) *GranularCounter
func (*GranularCounter) Add ¶
func (g *GranularCounter) Add(v Countable)
func (*GranularCounter) Len ¶
func (g *GranularCounter) Len() int
func (*GranularCounter) NewParent ¶
func (g *GranularCounter) NewParent(nameFunc func() int, bufferCap int) *GranularCounter
func (*GranularCounter) Sum ¶
func (g *GranularCounter) Sum() int
func (*GranularCounter) SumChildren ¶
func (g *GranularCounter) SumChildren() int
func (*GranularCounter) Values ¶
func (g *GranularCounter) Values() []interface{}
Click to show internal directories.
Click to hide internal directories.