THPDFMappedFileStatistics Record

Reports configuration, geometry, mapping, cache and transfer telemetry gathered by the memory-mapped file source during a load

Declaration

THPDFMappedFileStatistics= record
  FileSize: Int64;
  ConfiguredWindowSize: Int64;
  ConfiguredCacheWindowCount: Integer;
  WindowSize: Int64;
  CacheWindowCount: Integer;
  MappedByteLimit: Int64;
  CurrentMappedBytes: Int64;
  PeakMappedBytes: Int64;
  GeometryChangeCount: Int64;
  SequentialReadCalls: Int64;
  RandomReadCalls: Int64;
  AdaptiveGeometry: Boolean;
  SequentialGeometryActive: Boolean;
  RandomGeometryActive: Boolean;
  ReadCalls: Int64;
  BytesRead: Int64;
  MapCount: Int64;
  CacheHits: Int64;
  FallbackReadCalls: Int64;
  FallbackBytes: Int64;
  DirectTransferCalls: Int64;
  DirectTransferBytes: Int64;
end;

Unit

HPDFObjs

Fields

FieldPurpose
FileSizeSize of the mapped source file, in bytes
ConfiguredWindowSizeWindow size as configured via LocalFileMappingWindowSize
ConfiguredCacheWindowCountResident window count as configured via LocalFileMappingCacheWindows
WindowSizeWindow size that is actually in effect for this source
CacheWindowCountNumber of windows held at present by the window cache
MappedByteLimitUpper bound on the bytes the source keeps mapped at any one time
CurrentMappedBytesBytes mapped at present
PeakMappedBytesHigh-water mark of mapped bytes across the load
GeometryChangeCountNumber of times the adaptive geometry switched the window layout
SequentialReadCallsRead requests classed as sequential
RandomReadCallsRead requests classed as random access
AdaptiveGeometryTrue when adaptive geometry selection has been enabled for the source
SequentialGeometryActiveTrue whilst the sequential window geometry is active
RandomGeometryActiveTrue whilst the random-access window geometry is active
ReadCallsTotal read requests served through the mapped source
BytesReadTotal bytes handed over by those reads
MapCountNumber of times a file view was mapped into a window
CacheHitsReads satisfied by a window that was already resident
FallbackReadCallsReads that dropped back to plain file reads outside the window cache
FallbackBytesBytes delivered by fallback reads
DirectTransferCallsDirect stream-to-stream transfers that sidestep the window cache
DirectTransferBytesBytes moved by direct transfers

Usage notes

Related APIs