| Index: net/disk_cache/backend_impl.cc
|
| ===================================================================
|
| --- net/disk_cache/backend_impl.cc (revision 231691)
|
| +++ net/disk_cache/backend_impl.cc (working copy)
|
| @@ -1896,8 +1896,10 @@
|
| stats_.SetCounter(Stats::DOOM_CACHE, 0);
|
| stats_.SetCounter(Stats::DOOM_RECENT, 0);
|
|
|
| - CACHE_UMA(AGE, "FilesAge", 0,
|
| - Time::FromInternalValue(data_->header.create_time));
|
| + int age = (Time::Now() -
|
| + Time::FromInternalValue(data_->header.create_time)).InHours();
|
| + if (age)
|
| + CACHE_UMA(HOURS, "FilesAge", 0, age);
|
|
|
| int64 total_hours = stats_.GetCounter(Stats::TIMER) / 120;
|
| if (!data_->header.create_time || !data_->header.lru.filled) {
|
|
|