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 while a transaction opened by BeginGraphTransaction is still open
DepthNumber of nested transaction frames currently on the stack
SnapshotCountCopy-on-write object snapshots held across all frames
AddedObjectCountIndirect objects added since the outermost transaction started, 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 active

Usage notes

Related APIs