mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 01:08:39 +09:00
Remove all C++ Telemetry Accumulation calls.
This creates a number of stubs and leaves some surrounding code that may be irrelevant (eg. recorded time stamps, status variables). Stub resolution/removal should be a follow-up to this.
This commit is contained in:
parent
ac3468d5cc
commit
8c8145e620
186 changed files with 48 additions and 2957 deletions
|
|
@ -21,7 +21,6 @@
|
|||
#include "nsNetCID.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsProxyRelease.h"
|
||||
#include "mozilla/Telemetry.h"
|
||||
|
||||
static NS_DEFINE_CID(kStreamTransportServiceCID,
|
||||
NS_STREAMTRANSPORTSERVICE_CID);
|
||||
|
|
@ -793,24 +792,6 @@ _OldCacheLoad::Run()
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
if (NS_SUCCEEDED(mStatus)) {
|
||||
if (mFlags & nsICacheStorage::OPEN_TRUNCATE) {
|
||||
mozilla::Telemetry::AccumulateTimeDelta(
|
||||
mozilla::Telemetry::NETWORK_CACHE_V1_TRUNCATE_TIME_MS,
|
||||
mLoadStart);
|
||||
}
|
||||
else if (mNew) {
|
||||
mozilla::Telemetry::AccumulateTimeDelta(
|
||||
mozilla::Telemetry::NETWORK_CACHE_V1_MISS_TIME_MS,
|
||||
mLoadStart);
|
||||
}
|
||||
else {
|
||||
mozilla::Telemetry::AccumulateTimeDelta(
|
||||
mozilla::Telemetry::NETWORK_CACHE_V1_HIT_TIME_MS,
|
||||
mLoadStart);
|
||||
}
|
||||
}
|
||||
|
||||
if (!(mFlags & CHECK_MULTITHREADED))
|
||||
Check();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue