Interface RenderTaskGpuTimings
droppedTaskCount: number;
enabled: boolean;
error?: string;
frameIndex: number;
status: RenderTaskGpuTimingStatus;
supported: boolean;
tasks: readonly RenderTaskGpuTiming[];
totalDurationMs: number;
}
Index
Properties
Readonlydropped Task Count
Number of tasks skipped in that frame because the profiler's query-set capacity was exceeded.
Readonlyenabled
Whether task timing is currently enabled and recording future frames.
Optional Readonlyerror
Readback failure message when status === "error".
Readonlyframe Index
Monotonic profiler frame index for the snapshot. 0 means no measured frame has completed yet.
Readonlystatus
unsupported when the WebGPU device lacks timestamp-query; pending until the first readback lands.
Readonlysupported
Whether this engine's device exposes WebGPU timestamp queries.
Readonlytasks
Measured tasks in frame execution order. Empty until status === "available".
Tasks that issue no render or compute pass are omitted because standard WebGPU timestamps attach to passes.
Readonlytotal Duration Ms
Elapsed GPU time from the earliest measured task begin to the latest measured task end.
Task intervals may overlap on the GPU, so summing tasks[].durationMs can overcount this total.
Latest per-task GPU timing snapshot for an engine.