PDFium Delphi Component Docs

TPdfReadingWordCacheStatistics 記錄

單元: PDFium

儲存保留的朗讀單字池大小,以及終身的 demand/prefetch 計數器

語法

type TPdfReadingWordCacheStatistics = record ... end;

欄位

FieldTypePurpose
CapacityInteger有效池容量(以頁計)
PageCountInteger保留的頁面,含空頁面項目
WordCountInteger保留的字詞記錄
TextUnitsInteger保留字詞記錄涵蓋的 UTF-16 文字單元
HitCountInt64保留字詞幾何的終身重用次數
MissCountInt64終身原生幾何請求次數
PrefetchCountInt64prefetch 新保留的鄰近字詞
PrefetchSkipCountInt64prefetch 略過的失敗或超出預算的有效鄰近字詞
EvictionCountInt64從池中依 LRU 移除的次數
InvalidationCountInt64捨棄保留中或作用中字詞資料的清除次數

說明

透過 TPdfView.ReadingWordCacheStatistics 讀取快照;這些值描述的是 managed 幾何資料,不代表保留的原生頁面 handle,也不是完整的處理程序記憶體測量

另請參閱

ReadingWordPrefetch, ReadingWordCacheCapacity, ClearReadingWordCache, ReadingWordCacheStatistics, TrackReadingWordAt