func (cd *CounterDuration) Get() time.Duration {
	return cd.i.Get()
}
Get returns the value.
package stats
import (
	"strconv"
	"time"
	"github.com/nooncall/shazam/util/sync2"
)
type CounterDuration struct {
	i    sync2.AtomicDuration
	help string
}
func NewCounterDuration(name, help string) *CounterDuration {
	cd := &CounterDuration{
		help: help,
	}
	publish(name, cd)
	return cd
}
func (cd CounterDuration) Help() string {
	return cd.help
}
func (cd CounterDuration) String() string {
	return strconv.FormatInt(int64(cd.i.Get()), 10)
}
func (cd *CounterDuration) Add(delta time.Duration) {
	cd.i.Add(delta)
}