summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/metrics/histogram.cc2
-rw-r--r--base/metrics/histogram.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/base/metrics/histogram.cc b/base/metrics/histogram.cc
index c8d7b5f..1d6f884 100644
--- a/base/metrics/histogram.cc
+++ b/base/metrics/histogram.cc
@@ -71,7 +71,7 @@ const uint32 Histogram::kCrcTable[256] = {0x0, 0x77073096L, 0xee0e612cL,
typedef Histogram::Count Count;
// static
-const size_t Histogram::kBucketCount_MAX = 10000u;
+const size_t Histogram::kBucketCount_MAX = 16384u;
scoped_refptr<Histogram> Histogram::FactoryGet(const std::string& name,
Sample minimum, Sample maximum, size_t bucket_count, Flags flags) {
diff --git a/base/metrics/histogram.h b/base/metrics/histogram.h
index d6ec94d..347932a 100644
--- a/base/metrics/histogram.h
+++ b/base/metrics/histogram.h
@@ -241,7 +241,7 @@ class Histogram : public base::RefCountedThreadSafe<Histogram> {
typedef int Sample; // Used for samples (and ranges of samples).
typedef int Count; // Used to count samples in a bucket.
static const Sample kSampleType_MAX = INT_MAX;
- // Initialize maximum number of buckets in histograms as 10,000.
+ // Initialize maximum number of buckets in histograms as 16,384.
static const size_t kBucketCount_MAX;
typedef std::vector<Count> Counts;