THPDFParserArenaStatistics Record

回報解析器 arena 配置器的區塊、配置、token 與省略遙測數據

宣告

THPDFParserArenaStatistics= record
  BlockSize: Integer;
  RetainedBlockCount: Integer;
  RetainedBytes: Int64;
  PeakUsedBytes: Int64;
  AllocationCount: Int64;
  BytesRequested: Int64;
  BlockAllocationCount: Int64;
  ReusedAllocationCount: Int64;
  ResetCount: Int64;
  TokenCount: Int64;
  TemporaryObjectElisionCount: Int64;
end;

單元

HPDFDoc

欄位

欄位用途
BlockSize單一 arena 區塊的容量,建立時設定(預設 65536)
RetainedBlockCountarena 目前保留供重複使用的區塊數
RetainedBytes所有保留區塊的容量總和
PeakUsedBytes工作階段期間 arena 位元組用量的最高峰
AllocationCount由 arena 滿足的配置請求數
BytesRequested所有配置要求的位元組總數
BlockAllocationCount從記憶體管理器取得的全新區塊數
ReusedAllocationCount由既有區塊內已釋放空間滿足的配置數
ResetCountarena 標記被回滾或 arena 被重設的次數
TokenCount所屬載入工作階段統計的解析器 token 數,由 THotPDF 在 arena 回報後填入
TemporaryObjectElisionCount工作階段期間被省略的臨時解析器物件,同樣由 THotPDF 填入

使用說明

相關 API