Home
last modified time | relevance | path

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

/external/grpc-grpc/src/php/tests/qps/
Dhistogram.php32 private function bucket_for($value) { function in Histogram
45 $this->buckets = array_fill(0, $this->bucket_for($max_possible)+1, 0);
58 $this->buckets[$this->bucket_for($value)] += 1;
91 $this->buckets = array_fill(0, $this->bucket_for($this->max_possible)+1, 0);
/external/grpc-grpc/src/ruby/qps/
Dhistogram.rb25 def bucket_for(value) method in Histogram
41 @buckets=Array.new(bucket_for(max_possible)+1, 0)
56 @buckets[bucket_for(value)] += 1
/external/grpc-grpc/test/core/util/
Dhistogram.cc64 static size_t bucket_for(grpc_histogram* h, double x) { in bucket_for() function
112 h->buckets[bucket_for(h, x)]++; in grpc_histogram_add()