Home
last modified time | relevance | path

Searched refs:bucket_index (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/base/metrics/
Dsample_vector.cc26 size_t bucket_index = GetBucketIndex(value); in Accumulate() local
27 subtle::NoBarrier_Store(&counts_[bucket_index], in Accumulate()
28 subtle::NoBarrier_Load(&counts_[bucket_index]) + count); in Accumulate()
34 size_t bucket_index = GetBucketIndex(value); in GetCount() local
35 return subtle::NoBarrier_Load(&counts_[bucket_index]); in GetCount()
46 Count SampleVector::GetCountAtIndex(size_t bucket_index) const { in GetCountAtIndex()
47 DCHECK(bucket_index < counts_.size()); in GetCountAtIndex()
48 return subtle::NoBarrier_Load(&counts_[bucket_index]); in GetCountAtIndex()
Dhistogram.cc151 size_t bucket_index = 1; in InitializeBucketRanges() local
153 ranges->set_range(bucket_index, current); in InitializeBucketRanges()
155 while (bucket_count > ++bucket_index) { in InitializeBucketRanges()
159 log_ratio = (log_max - log_current) / (bucket_count - bucket_index); in InitializeBucketRanges()
168 ranges->set_range(bucket_index, current); in InitializeBucketRanges()
Dsample_vector.h37 HistogramBase::Count GetCountAtIndex(size_t bucket_index) const;
/external/chromium_org/components/metrics/proto/
Dhistogram_event.proto39 optional int32 bucket_index = 3 [deprecated = true]; field
/external/chromium_org/cc/layers/
Dheads_up_display_layer_impl.cc437 int bucket_index = floor(p * (kHistogramSize - 1)); in DrawFPSDisplay() local
441 histogram[bucket_index] += delta.InSecondsF(); in DrawFPSDisplay()
442 max_bucket_value = std::max(histogram[bucket_index], max_bucket_value); in DrawFPSDisplay()