diff options
author | Craig Tiller <ctiller@google.com> | 2017-09-13 12:39:21 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-09-13 12:39:21 -0700 |
commit | 64f8b129dd74e6e16c2b021a1c6b3f9fa10947ee (patch) | |
tree | 6a496157dc74dd6abca85c816ace102611c434ab /tools/run_tests/performance | |
parent | cf34fa58f476aae77c4e2dca0ff866542dd3af28 (diff) | |
parent | 3bf7b714a5458aadfc1e2761ede1213f69ef7959 (diff) |
Merge github.com:grpc/grpc into pollset_kick_stats
Diffstat (limited to 'tools/run_tests/performance')
-rw-r--r-- | tools/run_tests/performance/massage_qps_stats_helpers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/run_tests/performance/massage_qps_stats_helpers.py b/tools/run_tests/performance/massage_qps_stats_helpers.py index 400a0c82bf..a2fe4ae6c3 100644 --- a/tools/run_tests/performance/massage_qps_stats_helpers.py +++ b/tools/run_tests/performance/massage_qps_stats_helpers.py @@ -23,7 +23,7 @@ def _threshold_for_count_below(buckets, boundaries, count_below): if count_so_far == count_below: # this bucket hits the threshold exactly... we should be midway through # any run of zero values following the bucket - for upper_idx in range(lower_idx + 1, num_buckets): + for upper_idx in range(lower_idx + 1, len(buckets)): if buckets[upper_idx] != 0: break return (boundaries[lower_idx] + boundaries[upper_idx]) / 2.0 |