For performance reasons it maintains a single snapshot of the sorted values from all buckets that is re-generated each time the bucket rotates.
This means that if a bucket is 5000ms, then this method will re-compute a percentile at most once every 5000ms. value such as 99 (99th percentile), 99.5 (99.5th percentile), 50 (median, 50th percentile) to compute and retrieve percentile from rolling buckets.public GetPercentile ( double percentile ) : int | ||
percentile | double | |
리턴 | int |