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 读取快照;这些值描述的是托管几何数据,既不代表保留的原生页面句柄,也不是完整的进程内存测量

参见

ReadingWordPrefetch, ReadingWordCacheCapacity, ClearReadingWordCache, ReadingWordCacheStatistics, TrackReadingWordAt