THotPDF.GetLastOperationTelemetry Method
Copies the most recently published loaded-document operation telemetry
Declaration
function GetLastOperationTelemetry(out Info: THPDFOperationTelemetry): boolean;
Parameters
Info receives the operation name, scheduler reservation and wait, wall and CPU time, component and process memory peaks, peak live-allocation growth, process I/O byte deltas, decoded-stream input, output and aggregate work, expansion, cache counters, object count, success, and cancellation state
Return value
Returns True when a completed or cancelled instrumented operation has published telemetry
Usage notes
PeakMemoryBytes is a portable component-retained estimate, while PeakProcessMemoryBytes is sampled process working set
AllocationCount is peak additional live Delphi memory-manager blocks, CPUTimeMicroseconds is current-thread time, and I/O counters are process-wide deltas
DecodeExpansionPermille is DecodeOutputBytes divided by DecodeInputBytes, where 1000 means 1x; DecodedBytes remains aggregate work across all filter stages
ScheduledMemoryBytes, MemorySchedulerWaitMilliseconds, and MemorySchedulerDelayed attribute process-wide peak-memory admission to this operation