保存保留的朗读词池大小与生命周期 demand/prefetch 计数器
type TPdfReadingWordCacheStatistics = record ... end;
| Field | Type | Purpose |
|---|---|---|
Capacity | Integer | 池的有效容量(页) |
PageCount | Integer | 保留的页面,含空页条目 |
WordCount | Integer | 保留的词记录数 |
TextUnits | Integer | 保留词记录覆盖的 UTF-16 文本单元数 |
HitCount | Int64 | 保留词几何在生命周期内的复用次数 |
MissCount | Int64 | 生命周期内的原生几何请求次数 |
PrefetchCount | Int64 | prefetch 新保留的邻近页数 |
PrefetchSkipCount | Int64 | prefetch 跳过的失败或超预算的有效邻近页 |
EvictionCount | Int64 | 按 LRU 从池中移除的次数 |
InvalidationCount | Int64 | 丢弃保留或活动词数据的清除次数 |
通过 TPdfView.ReadingWordCacheStatistics 读取快照;这些值描述的是托管几何数据,既不代表保留的原生页面句柄,也不是完整的进程内存测量
ReadingWordPrefetch, ReadingWordCacheCapacity, ClearReadingWordCache, ReadingWordCacheStatistics, TrackReadingWordAt