Home
last modified time | relevance | path

Searched refs:kBytesPerBucket (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/base/metrics/
Dpersistent_histogram_allocator.cc84 const size_t kBytesPerBucket = 2 * sizeof(HistogramBase::AtomicCount); in CalculateRequiredCountsBytes() local
89 if (bucket_count > std::numeric_limits<size_t>::max() / kBytesPerBucket) in CalculateRequiredCountsBytes()
92 return bucket_count * kBytesPerBucket; in CalculateRequiredCountsBytes()
/external/cronet/base/metrics/
Dpersistent_histogram_allocator.cc91 const size_t kBytesPerBucket = 2 * sizeof(HistogramBase::AtomicCount); in CalculateRequiredCountsBytes() local
96 if (bucket_count > std::numeric_limits<size_t>::max() / kBytesPerBucket) in CalculateRequiredCountsBytes()
99 return bucket_count * kBytesPerBucket; in CalculateRequiredCountsBytes()