Reset histogram sum on Histogram.Reset call

This commit is contained in:
Aliaksandr Valialkin 2021-03-16 12:13:43 +02:00
parent 57c9db1bc3
commit cea3ca311b

View File

@ -75,6 +75,7 @@ func (h *Histogram) resetLocked() {
}
h.lower = 0
h.upper = 0
h.sum = 0
}
// Update updates h with v.