mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-03 22:38:41 +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
|
|
@ -292,12 +292,6 @@ Http2BaseCompressor::Http2BaseCompressor()
|
|||
|
||||
Http2BaseCompressor::~Http2BaseCompressor()
|
||||
{
|
||||
if (mPeakSize) {
|
||||
Telemetry::Accumulate(mPeakSizeID, mPeakSize);
|
||||
}
|
||||
if (mPeakCount) {
|
||||
Telemetry::Accumulate(mPeakCountID, mPeakCount);
|
||||
}
|
||||
UnregisterStrongMemoryReporter(mDynamicReporter);
|
||||
mDynamicReporter->mCompressor = nullptr;
|
||||
mDynamicReporter = nullptr;
|
||||
|
|
@ -336,16 +330,6 @@ Http2BaseCompressor::MakeRoom(uint32_t amount, const char *direction)
|
|||
bytesEvicted += mHeaderTable[index]->Size();
|
||||
mHeaderTable.RemoveElement();
|
||||
}
|
||||
|
||||
if (!strcmp(direction, "decompressor")) {
|
||||
Telemetry::Accumulate(Telemetry::HPACK_ELEMENTS_EVICTED_DECOMPRESSOR, countEvicted);
|
||||
Telemetry::Accumulate(Telemetry::HPACK_BYTES_EVICTED_DECOMPRESSOR, bytesEvicted);
|
||||
Telemetry::Accumulate(Telemetry::HPACK_BYTES_EVICTED_RATIO_DECOMPRESSOR, (uint32_t)((100.0 * (double)bytesEvicted) / (double)amount));
|
||||
} else {
|
||||
Telemetry::Accumulate(Telemetry::HPACK_ELEMENTS_EVICTED_COMPRESSOR, countEvicted);
|
||||
Telemetry::Accumulate(Telemetry::HPACK_BYTES_EVICTED_COMPRESSOR, bytesEvicted);
|
||||
Telemetry::Accumulate(Telemetry::HPACK_BYTES_EVICTED_RATIO_COMPRESSOR, (uint32_t)((100.0 * (double)bytesEvicted) / (double)amount));
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue