func NewTimer(h Histogram) *Timer {
	return &Timer{
		h: h,
		t: time.Now(),
		u: time.Second,
	}
}
NewTimer wraps the given histogram and records the current time.
package metrics
import "time"
type Timer struct {
	h Histogram
	t time.Time
	u time.Duration
}