Searched defs:bucket_count (Results 1 - 11 of 11) sorted by relevance

/external/libchrome/base/metrics/
H A Dbucket_ranges.h50 size_t bucket_count() const { return ranges_.size() - 1; } function in class:base::BucketRanges
H A Dhistogram_unittest.cc280 size_t array_size = histogram->bucket_count();
305 size_t bucket_count = test_custom_histogram->bucket_count(); local
306 EXPECT_EQ(0, custom_samples->GetCountAtIndex(bucket_count - 2));
307 EXPECT_EQ(3, custom_samples->GetCountAtIndex(bucket_count - 1));
421 int64_t bucket_count; local
422 EXPECT_TRUE(iter.ReadInt64(&bucket_count));
423 EXPECT_EQ(8, bucket_count);
450 int64_t bucket_count; local
454 iter.ReadInt64(&bucket_count)
[all...]
H A Dsample_vector.cc20 local_counts_(bucket_ranges->bucket_count()),
24 CHECK_GE(bucket_ranges_->bucket_count(), 1u);
34 counts_size_(bucket_ranges->bucket_count()),
36 CHECK_LE(bucket_ranges_->bucket_count(), counts_size_);
37 CHECK_GE(bucket_ranges_->bucket_count(), 1u);
107 size_t bucket_count = bucket_ranges_->bucket_count(); local
108 CHECK_GE(bucket_count, 1u);
110 CHECK_LT(value, bucket_ranges_->range(bucket_count));
113 size_t over = bucket_count;
[all...]
H A Dstatistics_recorder_unittest.cc42 size_t bucket_count) {
43 BucketRanges* ranges = new BucketRanges(bucket_count + 1);
39 CreateHistogram(const std::string& name, HistogramBase::Sample min, HistogramBase::Sample max, size_t bucket_count) argument
H A Dhistogram.cc40 size_t* bucket_count,
46 !iter->ReadSizeT(bucket_count) ||
57 INT_MAX / sizeof(HistogramBase::Count) <= *bucket_count ||
58 *bucket_count < 2) {
90 size_t bucket_count,
93 InspectConstructionArguments(name, &minimum, &maximum, &bucket_count);
99 BucketRanges* ranges = new BucketRanges(bucket_count + 1);
113 if (!histogram->HasConstructionArguments(minimum, maximum, bucket_count)) {
129 size_t bucket_count,
132 static_cast<Sample>(maximum.InMilliseconds()), bucket_count,
35 ReadHistogramArguments(PickleIterator* iter, std::string* histogram_name, int* flags, int* declared_min, int* declared_max, size_t* bucket_count, uint32_t* range_checksum) argument
87 FactoryGet(const std::string& name, Sample minimum, Sample maximum, size_t bucket_count, int32_t flags) argument
126 FactoryTimeGet(const std::string& name, TimeDelta minimum, TimeDelta maximum, size_t bucket_count, int32_t flags) argument
136 FactoryGet(const char* name, Sample minimum, Sample maximum, size_t bucket_count, int32_t flags) argument
144 FactoryTimeGet(const char* name, TimeDelta minimum, TimeDelta maximum, size_t bucket_count, int32_t flags) argument
172 size_t bucket_count = ranges->bucket_count(); local
231 size_t Histogram::bucket_count() const { function in class:base::Histogram
236 InspectConstructionArguments(const std::string& name, Sample* minimum, Sample* maximum, size_t* bucket_count) argument
251 << *bucket_count; local
381 size_t bucket_count; local
550 FactoryGet(const std::string& name, Sample minimum, Sample maximum, size_t bucket_count, int32_t flags) argument
559 FactoryTimeGet(const std::string& name, TimeDelta minimum, TimeDelta maximum, size_t bucket_count, int32_t flags) argument
569 FactoryGet(const char* name, Sample minimum, Sample maximum, size_t bucket_count, int32_t flags) argument
577 FactoryTimeGet(const char* name, TimeDelta minimum, TimeDelta maximum, size_t bucket_count, int32_t flags) argument
586 FactoryGetWithRangeDescription( const std::string& name, Sample minimum, Sample maximum, size_t bucket_count, int32_t flags, const DescriptionPair descriptions[]) argument
672 size_t bucket_count = ranges->bucket_count(); local
688 size_t bucket_count; local
748 size_t bucket_count; local
852 size_t bucket_count; local
[all...]
/external/webrtc/webrtc/system_wrappers/source/
H A Dmetrics_default.cc19 int bucket_count) { return NULL; }
18 HistogramFactoryGetCounts(const std::string& name, int min, int max, int bucket_count) argument
/external/webrtc/webrtc/base/
H A Dratetracker.cc22 RateTracker::RateTracker(uint32_t bucket_milliseconds, size_t bucket_count) argument
24 bucket_count_(bucket_count),
25 sample_buckets_(new size_t[bucket_count + 1]),
29 RTC_CHECK(bucket_count > 0u);
H A Drandom_unittest.cc34 // based on the remainder when dividing by bucket_count and check that each
37 void UniformBucketTest(T bucket_count, int samples, Random* prng) { argument
38 std::vector<int> buckets(bucket_count, 0);
44 static_cast<T>(total_values % static_cast<uint64_t>(bucket_count));
56 buckets[fdiv_remainder(sample, bucket_count)]++;
59 for (T i = 0; i < bucket_count; i++) {
61 EXPECT_NEAR(buckets[i], samples / bucket_count,
62 3 * sqrt(samples / bucket_count));
108 // The range of the random numbers is divided into bucket_count intervals
111 void BucketTestSignedInterval(unsigned int bucket_count, argument
151 BucketTestUnsignedInterval(unsigned int bucket_count, unsigned int samples, uint32_t low, uint32_t high, int sigma_level, Random* prng) argument
218 BucketTestFloat(unsigned int bucket_count, unsigned int samples, int sigma_level, Random* prng) argument
[all...]
/external/webrtc/webrtc/test/
H A Dhistogram.cc40 int bucket_count) {
39 HistogramFactoryGetCounts(const std::string& name, int min, int max, int bucket_count) argument
/external/libchrome/base/containers/
H A Dscoped_ptr_hash_map.h158 inline size_t bucket_count() const { return data_.bucket_count(); } function in class:base::ScopedPtrHashMap
/external/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfAccelTable.h84 uint32_t bucket_count; // The number of buckets in this hash table. member in struct:llvm::DwarfAccelTable::TableHeader
95 hash_function(dwarf::DW_hash_function_djb), bucket_count(0),
103 << "Bucket Count: " << bucket_count << "\n"

Completed in 339 milliseconds