THotPDF.GetLoadedStreamCacheInfo
Returns storage statistics for lazy stream bodies created by LoadFromFile
Declaration
function GetLoadedStreamCacheInfo(
out Info: THPDFLoadedStreamCacheInfo): Boolean;
Fields
LazyStreamCountcounts every file-backed loaded streamSourceBackedStreamCountcounts streams still read directly from their source-file rangeMemoryMaterializedStreamCountcounts modified streams copied into memoryDiskMaterializedStreamCountandDiskMaterializedBytesreport logical temporary-file spill usageCompressedSpillLogicalBytes,CompressedSpillPhysicalBytes, andCompressedSpillBlockCountreport compression effectiveness and current block occupancySpillAsyncWriteBatchCountandSpillAsyncWriteBlockCountreport background batchingSpillProducerWaitCountandSpillPeakQueuedBytesexpose bounded-queue backpressure
The method returns False when the loaded graph has no lazy file-backed streams and still clears every field in Info
See also: LoadedStreamMemoryThreshold, THPDFCompressedSpillStream, Scalable Loading