THPDFCustomStreamFilterStatistics
Tek bir THotPDF instance'ı için registry ve yürütme telemetrisini bir araya toplar
Bildirim
THPDFCustomStreamFilterStatistics = record
RegisteredFilterCount: Integer;
PushAttemptCount: Int64;
PullAttemptCount: Int64;
SuccessCount: Int64;
FailureCount: Int64;
CancellationCount: Int64;
SeekContractViolationCount: Int64;
InputBytes: Int64;
OutputBytes: Int64;
LastFilterName: AnsiString;
LastDiagnostic: AnsiString;
end;
Parametreler
Deneme sayaçları push ve pull modlarını birbirinden ayırır; byte sayaçları gözlemlenen girdi ile üretilen isolated output'u toplar; son alanlar ise en güncel sonuç bağlamını saklar
Dönüş değeri
GetCustomStreamFilterStatistics yalnızca registry boş olduğunda ve reset sonrası hiç deneme kaydedilmemişse False döndürür
Kullanım notları
- Cancellation ve seek hataları da
FailureCountsayacına eklenir RegisteredFilterCount, istatistikler istendiği anda örneklenirResetCustomStreamFilterStatisticskayıtları değiştirmeden sayaçları ve son diagnostic'ları temizler