mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 16:28:38 +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
|
|
@ -15,7 +15,6 @@
|
|||
#include "mozilla/DebugOnly.h"
|
||||
#include "mozilla/ErrorResult.h"
|
||||
#include "mozilla/dom/ScriptSettings.h"
|
||||
#include "mozilla/Telemetry.h"
|
||||
|
||||
#include "js/RootingAPI.h"
|
||||
#include "js/Value.h"
|
||||
|
|
@ -572,8 +571,6 @@ WorkerMainThreadRunnable::Dispatch(Status aFailStatus, ErrorResult& aRv)
|
|||
{
|
||||
mWorkerPrivate->AssertIsOnWorkerThread();
|
||||
|
||||
TimeStamp startTime = TimeStamp::NowLoRes();
|
||||
|
||||
AutoSyncLoopHolder syncLoop(mWorkerPrivate, aFailStatus);
|
||||
|
||||
mSyncLoopTarget = syncLoop.GetEventTarget();
|
||||
|
|
@ -590,11 +587,6 @@ WorkerMainThreadRunnable::Dispatch(Status aFailStatus, ErrorResult& aRv)
|
|||
if (!syncLoop.Run()) {
|
||||
aRv.ThrowUncatchableException();
|
||||
}
|
||||
|
||||
Telemetry::Accumulate(Telemetry::SYNC_WORKER_OPERATION, mTelemetryKey,
|
||||
static_cast<uint32_t>((TimeStamp::NowLoRes() - startTime)
|
||||
.ToMilliseconds()));
|
||||
Unused << startTime; // Shut the compiler up.
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue