示例#1
0
func record(h *hdrhistogram.Histogram, i int) {
	if err := h.RecordValue(int64(i)); err != nil {
		panic(err)
	}
}