THPDFCustomStreamFilterStatistics

汇总一个 THotPDF 实例的 registry 和执行遥测数据

声明

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;

参数

尝试计数器区分 push 和 pull 模式,字节计数器汇总观察到的输入和产出的隔离输出,最后几个字段保留最近一次的结果上下文

返回值

只有当 registry 为空且自上次重置以来没有记录任何尝试时,GetCustomStreamFilterStatistics 才返回 False

使用说明

相关 API