summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/eviction.cc
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-25 17:28:31 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-25 17:28:31 +0000
commit55185493afba3b7813d44a25c614975c0bc0f32b (patch)
treeb8891744621915ba5cd12d0dd8e305f3ec5e0c5f /net/disk_cache/eviction.cc
parentb235357d38b41a6d3dbf552fd9f4aee3261af0ba (diff)
downloadchromium_src-55185493afba3b7813d44a25c614975c0bc0f32b.zip
chromium_src-55185493afba3b7813d44a25c614975c0bc0f32b.tar.gz
chromium_src-55185493afba3b7813d44a25c614975c0bc0f32b.tar.bz2
Disk Cache: Split some time histograms in groups based
on the cache size. BUG=10727 TEST=none Review URL: http://codereview.chromium.org/146129 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19256 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/eviction.cc')
-rw-r--r--net/disk_cache/eviction.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/disk_cache/eviction.cc b/net/disk_cache/eviction.cc
index f4e74b2..c29d730 100644
--- a/net/disk_cache/eviction.cc
+++ b/net/disk_cache/eviction.cc
@@ -104,7 +104,7 @@ void Eviction::TrimCache(bool empty) {
}
}
- CACHE_UMA(AGE_MS, "TotalTrimTime", 0, start);
+ CACHE_UMA(AGE_MS, "TotalTrimTime", backend_->GetSizeGroup(), start);
trimming_ = false;
Trace("*** Trim Cache end ***");
return;
@@ -276,7 +276,7 @@ void Eviction::TrimCacheV2(bool empty) {
factory_.NewRunnableMethod(&Eviction::TrimDeleted, empty));
}
- CACHE_UMA(AGE_MS, "TotalTrimTime", 0, start);
+ CACHE_UMA(AGE_MS, "TotalTrimTime", backend_->GetSizeGroup(), start);
Trace("*** Trim Cache end ***");
trimming_ = false;
return;