diff options
author | ziadh@chromium.org <ziadh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-19 08:00:42 +0000 |
---|---|---|
committer | ziadh@chromium.org <ziadh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-19 08:00:42 +0000 |
commit | 46f89e149da3971fcf52b778de939256fae4249a (patch) | |
tree | 24a85f97832b082072dd54035a89de4ca9cc86cf /base/histogram.h | |
parent | a110dd1ff6a3b8507ee164ababea537df52642cb (diff) | |
download | chromium_src-46f89e149da3971fcf52b778de939256fae4249a.zip chromium_src-46f89e149da3971fcf52b778de939256fae4249a.tar.gz chromium_src-46f89e149da3971fcf52b778de939256fae4249a.tar.bz2 |
Compress and checksum pending logs that are going to be persisted. Persisted logs now have the following format:
[list_size, log1, log2, ..., log_n, checksum].
where each log is bzipped before being written. Upon reading the logs from disk, we verify the data and register whether we faced corruptions or not.
r=jar
Review URL: http://codereview.chromium.org/2936005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52885 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/histogram.h')
-rw-r--r-- | base/histogram.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/histogram.h b/base/histogram.h index ac97a67..b745026 100644 --- a/base/histogram.h +++ b/base/histogram.h @@ -497,7 +497,7 @@ class LinearHistogram : public Histogram { default underflow bucket. */ static scoped_refptr<Histogram> FactoryGet(const std::string& name, Sample minimum, Sample maximum, size_t bucket_count, Flags flags); - static scoped_refptr<Histogram> FactoryGet(const std::string& name, + static scoped_refptr<Histogram> FactoryTimeGet(const std::string& name, base::TimeDelta minimum, base::TimeDelta maximum, size_t bucket_count, Flags flags); |