diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-18 22:04:56 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-18 22:04:56 +0000 |
commit | c907656e92631caedf646ca8ee56cc91a0debb51 (patch) | |
tree | e9ff89c20b3f4e4fa4f75f85797e7828e46ea857 /net/disk_cache/entry_impl.cc | |
parent | fe5a12c1a0f2ccdbf6e14809428073c011d786ec (diff) | |
download | chromium_src-c907656e92631caedf646ca8ee56cc91a0debb51.zip chromium_src-c907656e92631caedf646ca8ee56cc91a0debb51.tar.gz chromium_src-c907656e92631caedf646ca8ee56cc91a0debb51.tar.bz2 |
Disk cache: Remove per-size-group histograms and a few stale ones.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10116006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132879 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/entry_impl.cc')
-rw-r--r-- | net/disk_cache/entry_impl.cc | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/net/disk_cache/entry_impl.cc b/net/disk_cache/entry_impl.cc index b7eb18c..922a56b 100644 --- a/net/disk_cache/entry_impl.cc +++ b/net/disk_cache/entry_impl.cc @@ -696,13 +696,12 @@ void EntryImpl::ReportIOTime(Operation op, const base::TimeTicks& start) { if (!backend_) return; - int group = backend_->GetSizeGroup(); switch (op) { case kRead: - CACHE_UMA(AGE_MS, "ReadTime", group, start); + CACHE_UMA(AGE_MS, "ReadTime", 0, start); break; case kWrite: - CACHE_UMA(AGE_MS, "WriteTime", group, start); + CACHE_UMA(AGE_MS, "WriteTime", 0, start); break; case kSparseRead: CACHE_UMA(AGE_MS, "SparseReadTime", 0, start); @@ -711,13 +710,13 @@ void EntryImpl::ReportIOTime(Operation op, const base::TimeTicks& start) { CACHE_UMA(AGE_MS, "SparseWriteTime", 0, start); break; case kAsyncIO: - CACHE_UMA(AGE_MS, "AsyncIOTime", group, start); + CACHE_UMA(AGE_MS, "AsyncIOTime", 0, start); break; case kReadAsync1: - CACHE_UMA(AGE_MS, "AsyncReadDispatchTime", group, start); + CACHE_UMA(AGE_MS, "AsyncReadDispatchTime", 0, start); break; case kWriteAsync1: - CACHE_UMA(AGE_MS, "AsyncWriteDispatchTime", group, start); + CACHE_UMA(AGE_MS, "AsyncWriteDispatchTime", 0, start); break; default: NOTREACHED(); |