Bug 1016451 - HTTP cache v2: add shutdown time probe for sanitize case, r=michal

This commit is contained in:
Honza Bambas 2014-05-29 00:52:21 +02:00
parent 63d11c10ca
commit 9118553761
2 changed files with 9 additions and 0 deletions

View File

@ -1245,6 +1245,7 @@ CacheFileIOManager::Shutdown()
CacheIndex::Shutdown();
if (CacheObserver::ClearCacheOnShutdown()) {
Telemetry::AutoTimer<Telemetry::NETWORK_DISK_CACHE2_SHUTDOWN_CLEAR_PRIVATE> totalTimer;
gInstance->SyncRemoveAllCacheFiles();
}

View File

@ -2704,6 +2704,14 @@
"extended_statistics_ok": true,
"description": "Time spent (ms) during showdown deleting disk cache for 'clear private data' option"
},
"NETWORK_DISK_CACHE2_SHUTDOWN_CLEAR_PRIVATE": {
"expires_in_version": "never",
"kind": "exponential",
"high": "10000",
"n_buckets": 10,
"extended_statistics_ok": true,
"description": "Time spent (ms) during showdown deleting disk cache v2 for 'clear private data' option"
},
"NETWORK_DISK_CACHE_REVALIDATION": {
"expires_in_version": "never",
"kind": "exponential",