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 は現在のスレッドの CPU 時間、I/O カウンターはプロセス全体の差分です

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

ScheduledMemoryBytes、MemorySchedulerWaitMilliseconds、MemorySchedulerDelayed は、プロセス全体のピークメモリ admission をこの操作に帰属させた値です

関連 API