THotPDF.GetLastOperationTelemetry Method

Copies the most recently published loaded-document operation telemetry

声明

function GetLastOperationTelemetry(out Info: THPDFOperationTelemetry): boolean;

参数

Info 接收操作名称、调度器的预留与等待、墙钟时间与 CPU 时间、组件与进程的内存峰值、活动分配增长的峰值、进程 I/O 字节增量、解码流的输入、输出与总工作量、膨胀比、缓存计数器、对象数、成功与否以及取消状态

返回值

当已完成或已取消的带埋点操作发布了遥测数据时,返回 True

使用说明

PeakMemoryBytes 是可移植的、由组件保留的估算值,而 PeakProcessMemoryBytes 是采样得到的进程工作集

AllocationCount 是额外的活动 Delphi 内存管理器块数量峰值,CPUTimeMicroseconds 是当前线程时间,I/O 计数器则是进程范围内的增量

DecodeExpansionPermille 是 DecodeOutputBytes divided by DecodeInputBytes, where 1000 means 1x; DecodedBytes remains aggregate work across all filter stages

ScheduledMemoryBytes、MemorySchedulerWaitMilliseconds 和 MemorySchedulerDelayed 用于把进程范围的峰值内存准入情况归因到本次操作

相关 API