THPDFRenderBackendStatistics Record
Aggregates attempt, success, failure, fallback, and serialization counters recorded across page render backend calls
Declaration
THPDFRenderBackendStatistics= record
AttemptCount: Int64;
SuccessCount: Int64;
FailureCount: Int64;
FallbackCount: Int64;
SerializedCallCount: Int64;
LastElapsedMilliseconds: Cardinal;
LastBackendName: AnsiString;
LastFailureReason: AnsiString;
end;
Unit
HPDFPageRenderer
Fields
| Field | Purpose |
|---|---|
AttemptCount | Total render attempts dispatched to any backend |
SuccessCount | Attempts that produced a bitmap |
FailureCount | Attempts that failed |
FallbackCount | Attempts resolved by the software fallback after a backend failure |
SerializedCallCount | Attempts that had to run serialized under the render lock instead of concurrently |
LastElapsedMilliseconds | Duration of the most recent attempt in milliseconds |
LastBackendName | Name of the backend that handled the most recent attempt |
LastFailureReason | Failure text reported by the most recent failed attempt |
Usage notes
- Read the counters with
THotPDF.GetRenderBackendStatistics, which returns True once at least one attempt was recorded THotPDF.ResetRenderBackendStatisticszeroes every counter under the render lockLastBackendNameandLastFailureReasondescribe only the most recent attempt, not the whole run