THPDFType3GlyphCacheStats 记录

报告渲染时使用的 Type 3 字形 CharProc 缓存的命中、未命中、逐出与绕过行为

声明

THPDFType3GlyphCacheStats= record
  EntryCount: Integer;
  CachedTokenCount: Integer;
  HitCount: Int64;
  MissCount: Int64;
  EvictionCount: Int64;
  OversizeBypassCount: Int64;
end;

单元

HPDFPageRenderer

字段

字段用途
EntryCount单次渲染缓存当前持有的 Type 3 字形过程数量
CachedTokenCount各缓存字形过程合计持有的内容令牌总数,受缓存预算约束
HitCount由缓存提供而无需重新解释的字形过程数
MissCount缓存中找不到而重新解释的字形过程数
EvictionCount为保持在令牌预算内而从缓存丢弃的字形数
OversizeBypassCount过大而无法缓存的字形,直接解释、不进缓存

使用说明

相关 API