diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-09-04 10:06:24 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-09-04 10:07:40 +0200 |
commit | b28ab55f9675f2e97dda9a4fcac0d4f5267a2bb9 (patch) | |
tree | 0b6e4cfff6c1d4f699aa04c98c27744b4c0c481f /netwerk/cache/nsCacheService.cpp | |
parent | 45ec2bceb4822646805136b8874a3681b14e78ef (diff) | |
parent | 93cae908bcbd063f21d5663a7d3149464af2ad20 (diff) | |
download | UXP-b28ab55f9675f2e97dda9a4fcac0d4f5267a2bb9.tar UXP-b28ab55f9675f2e97dda9a4fcac0d4f5267a2bb9.tar.gz UXP-b28ab55f9675f2e97dda9a4fcac0d4f5267a2bb9.tar.lz UXP-b28ab55f9675f2e97dda9a4fcac0d4f5267a2bb9.tar.xz UXP-b28ab55f9675f2e97dda9a4fcac0d4f5267a2bb9.zip |
Remove all C++ telemetry autotimers
Tag #21
Diffstat (limited to 'netwerk/cache/nsCacheService.cpp')
-rw-r--r-- | netwerk/cache/nsCacheService.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/netwerk/cache/nsCacheService.cpp b/netwerk/cache/nsCacheService.cpp index 7c977c09d..97b1a71c8 100644 --- a/netwerk/cache/nsCacheService.cpp +++ b/netwerk/cache/nsCacheService.cpp @@ -1184,7 +1184,6 @@ nsCacheService::Shutdown() } nsCOMPtr<nsIThread> cacheIOThread; - Telemetry::AutoTimer<Telemetry::NETWORK_DISK_CACHE_SHUTDOWN> totalTimer; bool shouldSanitize = false; nsCOMPtr<nsIFile> parentDir; @@ -1261,10 +1260,8 @@ nsCacheService::Shutdown() if (NS_SUCCEEDED(parentDir->Exists(&exists)) && exists) nsDeleteDir::DeleteDir(parentDir, false); } - Telemetry::AutoTimer<Telemetry::NETWORK_DISK_CACHE_SHUTDOWN_CLEAR_PRIVATE> timer; nsDeleteDir::Shutdown(shouldSanitize); } else { - Telemetry::AutoTimer<Telemetry::NETWORK_DISK_CACHE_DELETEDIR_SHUTDOWN> timer; nsDeleteDir::Shutdown(shouldSanitize); } } @@ -2175,7 +2172,6 @@ nsCacheService::ActivateEntry(nsCacheRequest * request, nsCacheEntry * nsCacheService::SearchCacheDevices(nsCString * key, nsCacheStoragePolicy policy, bool *collision) { - Telemetry::AutoTimer<Telemetry::CACHE_DEVICE_SEARCH_2> timer; nsCacheEntry * entry = nullptr; CACHE_LOG_DEBUG(("mMemoryDevice: 0x%p\n", mMemoryDevice)); |