GetDisplayListCacheInfo
Rendering
Description
Returns a JSON report on display-list retention, reuse, memory pressure and concurrent capture
Syntax
Delphi
Function TPDFlib.GetDisplayListCacheInfo(Out Info: WideString): Integer;DLL
const wchar_t* DLGetDisplayListCacheInfo(int InstanceID);ActiveX
Function PDFlib::GetDisplayListCacheInfo(ByRef Info As String) As LongParameters
| Info | Receives enabled, entries, hits, misses, bytes, maxEntries, maxBytes, replayCost, evictions, bypasses, rejectedCaptures and buildContentions fields |
|---|
Return values
| 1 | The report was returned |
|---|
Remarks
bytes is a conservative estimate of retained records, dynamic arrays and string payloads
replayCost estimates the token and operand parsing work avoided by rebuilding all retained lists
buildContentions counts lookups that parsed privately because another renderer was still building the same source, preventing partial-list replay