mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
Telemetry: Remove stubs and related code
This commit is contained in:
parent
10053448d6
commit
aea50f182f
134 changed files with 68 additions and 3422 deletions
|
|
@ -662,9 +662,6 @@ nsPerformanceStatsService::nsPerformanceStatsService()
|
|||
nsPerformanceGroup::GroupScope::RUNTIME // scope
|
||||
))
|
||||
, mIsHandlingUserInput(false)
|
||||
, mProcessStayed(0)
|
||||
, mProcessMoved(0)
|
||||
, mProcessUpdateCounter(0)
|
||||
, mIsMonitoringPerCompartment(false)
|
||||
, mJankAlertThreshold(mozilla::MaxValue<uint64_t>::value) // By default, no alerts
|
||||
, mJankAlertBufferingDelay(1000 /* ms */)
|
||||
|
|
@ -953,13 +950,6 @@ nsPerformanceStatsService::SetJankAlertBufferingDelay(uint32_t value) {
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsPerformanceStatsService::UpdateTelemetry()
|
||||
{
|
||||
/* STUB */
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
/* static */ nsIPerformanceStats*
|
||||
nsPerformanceStatsService::GetStatsForGroup(const js::PerformanceGroup* group)
|
||||
|
|
@ -992,12 +982,6 @@ nsPerformanceStatsService::GetSnapshot(JSContext* cx, nsIPerformanceSnapshot * *
|
|||
}
|
||||
}
|
||||
|
||||
js::GetPerfMonitoringTestCpuRescheduling(cx, &mProcessStayed, &mProcessMoved);
|
||||
|
||||
if (++mProcessUpdateCounter % 10 == 0) {
|
||||
mozilla::Unused << UpdateTelemetry();
|
||||
}
|
||||
|
||||
snapshot.forget(aSnapshot);
|
||||
|
||||
return NS_OK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue