THPDFGraphTransactionStatistics Record

Snapshots the state of the copy-on-write graph transaction stack: active flag, nesting depth, snapshot and added-object counts, and resident, spilled and peak snapshot memory

Declaration

THPDFGraphTransactionStatistics= record
  Active: boolean;
  Depth: Integer;
  SnapshotCount: Integer;
  AddedObjectCount: Integer;
  ResidentSnapshotBytes: Int64;
  SpilledSnapshotBytes: Int64;
  PeakResidentSnapshotBytes: Int64;
end;

Unit

HPDFDoc

Fields

FieldPurpose
Activetrue whilst a transaction opened by BeginGraphTransaction is still open
DepthNumber of nested transaction frames presently on the stack
SnapshotCountCopy-on-write object snapshots held across all frames
AddedObjectCountIndirect objects added since the outermost transaction began, measured against its initial object count
ResidentSnapshotBytesSnapshot bytes currently held in memory across all frames
SpilledSnapshotBytesSnapshot bytes moved out of memory by the spilling mechanism
PeakResidentSnapshotBytesHighest resident snapshot total observed; also reported when no transaction is in progress

Usage notes

Related APIs