mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 10:50:44 +00:00
Merge 104f6495bf into dddbaa4bf3
This commit is contained in:
commit
de3ccf1c61
1 changed files with 1 additions and 1 deletions
|
|
@ -224,7 +224,7 @@ func (h *runtimeHistogramSnapshot) computePercentiles(thresh []float64) {
|
|||
for i, count := range h.internal.Counts {
|
||||
totalCount += float64(count)
|
||||
|
||||
for len(thresh) > 0 && thresh[0] < totalCount {
|
||||
for len(thresh) > 0 && thresh[0] <= totalCount {
|
||||
thresh[0] = h.internal.Buckets[i]
|
||||
thresh = thresh[1:]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue