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