Home
last modified time | relevance | path

Searched refs:upper_idx (Results 1 – 3 of 3) sorted by relevance

/external/grpc-grpc/src/core/lib/debug/
Dstats.cc101 int upper_idx; in threshold_for_count_below() local
114 for (upper_idx = lower_idx + 1; upper_idx < num_buckets; upper_idx++) { in threshold_for_count_below()
115 if (bucket_counts[upper_idx]) { in threshold_for_count_below()
119 return (bucket_boundaries[lower_idx] + bucket_boundaries[upper_idx]) / 2.0; in threshold_for_count_below()
/external/grpc-grpc/test/core/util/
Dhistogram.cc152 size_t upper_idx; in threshold_for_count_below() local
176 for (upper_idx = lower_idx + 1; upper_idx < h->num_buckets; upper_idx++) { in threshold_for_count_below()
177 if (h->buckets[upper_idx]) { in threshold_for_count_below()
182 bucket_start(h, static_cast<double>(upper_idx))) / in threshold_for_count_below()
/external/grpc-grpc/tools/run_tests/performance/
Dmassage_qps_stats_helpers.py27 for upper_idx in range(lower_idx + 1, len(buckets)):
28 if buckets[upper_idx] != 0:
30 return (boundaries[lower_idx] + boundaries[upper_idx]) / 2.0