ResetResourceUsageStatistics

Diagnostics, performance

Description

Resets parser errors, stream decode totals and cache hit or miss counters while preserving loaded documents and cached resources

Syntax

Delphi

Function TPDFlib.ResetResourceUsageStatistics: Integer;

Return values

1The counters were reset

Remarks

Use this call immediately before a workload when the following statistics report should describe only that workload