diff options
author | rvargas@chromium.org <rvargas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-27 23:49:33 +0000 |
---|---|---|
committer | rvargas@chromium.org <rvargas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-27 23:49:33 +0000 |
commit | a3cfbfaab843a48399ffb31a73f98366e88417f0 (patch) | |
tree | c658877cc41524c31f5d5427017a271d8a16e9e1 /net/disk_cache/blockfile/histogram_macros.h | |
parent | ae2477e9ec60fb753bdc9fca44d01ecd4b5ac004 (diff) | |
download | chromium_src-a3cfbfaab843a48399ffb31a73f98366e88417f0.zip chromium_src-a3cfbfaab843a48399ffb31a73f98366e88417f0.tar.gz chromium_src-a3cfbfaab843a48399ffb31a73f98366e88417f0.tar.bz2 |
Disk cache: Remove stats_histogram.
StatsHistograms is the only "external" subclass of base::Histogram and as such
it often requires extra considerations when modifying the base class. On the
other hand, almost the same data can be gathered by using a regular log
histogram with a specific range.
This CL does that, generating a 75 bucket histogram to map the 27 buckets
from the original data. Most of the buckets will be empty, and a couple of
buckets will be merged on the new histogram, but the compromise looks
good enough.
BUG=377936
Review URL: https://codereview.chromium.org/295913014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273074 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/blockfile/histogram_macros.h')
-rw-r--r-- | net/disk_cache/blockfile/histogram_macros.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/disk_cache/blockfile/histogram_macros.h b/net/disk_cache/blockfile/histogram_macros.h index ecffc8f..61cc6ea 100644 --- a/net/disk_cache/blockfile/histogram_macros.h +++ b/net/disk_cache/blockfile/histogram_macros.h @@ -11,6 +11,8 @@ #ifndef NET_DISK_CACHE_BLOCKFILE_HISTOGRAM_MACROS_H_ #define NET_DISK_CACHE_BLOCKFILE_HISTOGRAM_MACROS_H_ +#include "base/metrics/histogram.h" + // ----------------------------------------------------------------------------- // These histograms follow the definition of UMA_HISTOGRAMN_XXX except that |