THotPDF.GetLoadedFontDecoderCacheInfo
Returns storage and reuse telemetry for the current document's loaded-font decoder cache
Declaration
function GetLoadedFontDecoderCacheInfo(
out Info: THPDFLoadedFontDecoderCacheInfo): boolean;
Reported fields
EntryCount,CurrentBytes, andMaxBytesreport retained entries and the estimated memory budgetHitCountandMissCountreport cache lookupsParseCountreports decoder builds, including failed builds and successful builds that cannot be retained under the current budgetEvictionCountreports least recently used entries removed to satisfy a reduced or full budgetInvalidationCountreports document, graph, page, or CMap configuration changes that cleared retained decoders
The method clears Info before reading the cache and returns True when cache telemetry is available
See also: THPDFLoadedFontDecoderCacheInfo, ResetLoadedFontDecoderCacheStatistics