mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 06:48:38 +09:00
Remove all C++ telemetry autotimers
This commit is contained in:
parent
8c8145e620
commit
ad782894c8
28 changed files with 37 additions and 119 deletions
4
netwerk/cache/nsCacheService.cpp
vendored
4
netwerk/cache/nsCacheService.cpp
vendored
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue