mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
metrics: fix typo
This commit is contained in:
parent
33c641d150
commit
8c26bbc6c2
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ func SamplePercentile(values []int64, p float64) float64 {
|
|||
}
|
||||
|
||||
// CalculatePercentiles returns a slice of arbitrary percentiles of the slice of
|
||||
// int64. This method returns interpolated results, so e.g if there are only two
|
||||
// int64. This method returns interpolated results, so e.g. if there are only two
|
||||
// values, [0, 10], a 50% percentile will land between them.
|
||||
//
|
||||
// Note: As a side-effect, this method will also sort the slice of values.
|
||||
|
|
|
|||
Loading…
Reference in a new issue