summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/disk_format.h
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-11 23:49:43 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-11 23:49:43 +0000
commit763ebe7adfd2aa850f94862b49ee6d7371d0e22f (patch)
tree687a82eaec0a9896698b1b8cbcdd999964fead42 /net/disk_cache/disk_format.h
parent579f8970ea79d64a3d76c9201f28c9b0c8ed5862 (diff)
downloadchromium_src-763ebe7adfd2aa850f94862b49ee6d7371d0e22f.zip
chromium_src-763ebe7adfd2aa850f94862b49ee6d7371d0e22f.tar.gz
chromium_src-763ebe7adfd2aa850f94862b49ee6d7371d0e22f.tar.bz2
Disk cache: Set up an experiment to measure the effect of
increasing the maximum cache size. There will be three groups on the experiment, each group with 10% of the users (Dev Channel). Each group will have the max cache size increased by a factor from 2 to 4 times the current size, and we'll measure the age of evicted entries. I'm also adding a few metrics of reliability, to detect how often we're not getting to do proper cleanup. Review URL: http://codereview.chromium.org/14013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6847 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/disk_format.h')
-rw-r--r--net/disk_cache/disk_format.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/disk_cache/disk_format.h b/net/disk_cache/disk_format.h
index 2e839a1..7dc2e7c 100644
--- a/net/disk_cache/disk_format.h
+++ b/net/disk_cache/disk_format.h
@@ -84,7 +84,9 @@ struct IndexHeader {
int32 this_id; // Id for all entries being changed (dirty flag).
CacheAddr stats; // Storage for usage data.
int32 table_len; // Actual size of the table (0 == kIndexTablesize).
- int32 pad[64];
+ int32 crash; // Signals a previous crash.
+ int32 experiment; // Id of an ongoing test.
+ int32 pad[62];
LruData lru; // Eviction control data.
IndexHeader() {
memset(this, 0, sizeof(*this));